Regular Expressions 101

Sponsors

Library entries

2
javascript

Out of office

This is why
Submitted by anonymous - 8 years ago
-2
pcre

Test email

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

Regex

Test
Submitted by anonymous - 8 years ago
-2
pcre

cofor

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

Regexp haus

Ejemplo para parsear direcciones de Haus
Submitted by Leo - 8 years ago
1
pcre

Window Spacer type

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

URL

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

Parser

Need everything inside this as separate variable :)
Submitted by anonymous - 8 years ago
1
pcre

Some OR regex

no description available
Submitted by anonymous - 8 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 - 8 years ago