Regular Expressions 101

Sponsors

Library entries

1
pcre

Phone Number Extractor

no description available
Submitted by Codedude - 7 years ago
1
pcre

get all files

no description available
Submitted by anonymous - 7 years ago
2
javascript

Match Characters outside list

no description available
Submitted by vikas - 7 years ago
0
pcre

Any mail address

Any mail address
Submitted by Himalay - 7 years ago
3
pcre

split sentence regex

no description available
Submitted by anonymous - 7 years ago
1
pcre

Mio- schedule task log parser

no description available
Submitted by anonymous - 7 years ago
1
javascript

LMC date match

no description available
Submitted by David Zurcher - 7 years ago
1
javascript

url

no description available
Submitted by anonymous - 7 years ago
0
pcre

asd

no description available
Submitted by anonymous - 7 years ago
1
pcre

Extract a UUID

no description available
Submitted by anonymous - 7 years ago
1
pcre

regrex expression

http://www.r-project.org/mail.html
Submitted by Michael Tan - 7 years ago
2
python

suricata OSSIM regex-1

no description available
Submitted by anonymous - 7 years ago

How do I write a Regex to inspect Cisco Interfaces

Vote

3

Regular Expression
pcre

/
interface GigabitEthernet1\/(1[2-9]|[1-2][0-1]).*\n(.*\n)*.* description \*\* Unused Port \*\*.*\n(.*\n)*.* switchport access vlan 1002.*\n(.*\n)*.* switchport mode access.*\n(.*\n)*.* switchport port-security.*\n(.*\n)*.* switchport port-security mac-address sticky.*\n(.*\n)*.* shutdown.*\n(.*\n)*.* no cdp enable.*\n(.*\n)*.* spanning-tree portfast
/

Description

Loading markdown...
Submitted by Pirates - 7 years ago