Regular Expressions 101

Community Patterns

0

PLP redirection

PCRE2 (PHP >=7.3)
PLP redirection
Submitted by anonymous - 7 days ago
1

loyal

PCRE2 (PHP >=7.3)
loyal
Submitted by anonymous - 12 days ago
1

named capture

PCRE2 (PHP >=7.3)
simple named capture
Submitted by Gene - 12 days ago

Date Regex(DD/MM/yyyy)

18

Regular Expression
PCRE (PHP <7.3)

/
^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/((19|[2-9]\d)\d{2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))|((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))$
/
g

Description

Loading markdown...
Submitted by alcaamado - 9 years ago