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

Four-Digit Leap Years post-Y0 (AD/BCE) (Museum of Bad Data)

1

Regular Expression
ECMAScript (JavaScript)

/
^(\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)$
/
gm

Description

Loading markdown...
Submitted by Philip Flip Kromer - 4 months ago