Regular Expressions 101

Community Patterns

4

CloudFlare

PCRE2 (PHP >=7.3)
Cloud Flare
Submitted by anonymous - 2 years ago
4

Email

PCRE2 (PHP >=7.3)
email format control
Submitted by ahmetbarut - 2 years ago
7

rsyslog test

PCRE (PHP <7.3)
global modifier
Submitted by dtmland - 9 years ago
23

userName

PCRE (PHP <7.3)
1-15 alphanumeric login name
Submitted by gsanchezc - 8 years ago

Get <NIC>

1

Regular Expression
Python

r"
<NIC>[\s\S]*?<\/NIC>
"
gm

Description

Loading markdown...
Submitted by anonymous - 4 months ago