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
3

example

PCRE2 (PHP >=7.3)
example
Submitted by anonymous - 2 years ago

Match IP (ipv4) addresses: [0.0.0.0]-[255.255.255.255]

0

Regular Expression
PCRE (PHP <7.3)

/
(?:^|\s) (\b(?:2[0-4]\d|25[0-5]|1?\d?\d)\b \. \b(?:2[0-4]\d|25[0-5]|1?\d?\d)\b \. \b(?:2[0-4]\d|25[0-5]|1?\d?\d)\b \. \b(?:2[0-4]\d|25[0-5]|1?\d?\d)\b) (?:$|\s)
/
gmx

Description

Loading markdown...
Submitted by OnlineCop - 8 years ago