Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^ ( ( 0?[1-9]\/ (0?[1-9]|1[0-2]) )| ( (1\d|2[0-8]) \/0?2 )| ( ([12]\d|30) \/ (0?[469]|11) )| ( ([12]\d|3[01]) \/ (0?[13578]|1[02]) ) ) \/\d{4}$
/
gmx

Description

no description available

Submitted by gcq - 9 years ago