Regular Expressions 101

Library entries

2
pcre

Brazilian number phone

no description available
Submitted by Marcos André - 7 years ago
2
pcre

days_and_weeks

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

Email validation

It validates an email address with alias
Submitted by anonymous - 7 years ago
2
pcre

8 Digits Password

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

new anchor

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

httplinkresolver

get special tag contains html link
Submitted by okeskiner - 7 years ago
2
pcre

URL extractor

Extract parts of an URL.
Submitted by Gilles Marchand - 7 years ago
2
pcre

multiple sql like expressions

no description available
Submitted by robessog - 7 years ago
2
pcre

Delete Blank Lines

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

Email combo to username combo

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

negative lookahead

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 - 8 years ago