Regular Expressions 101

Library entries

basic date recognition

Vote

1

Regular Expression
pcre

/
(?P<day>0[1-9]|[12]\d|3[01])(?P<seperator>[\/-])(?P<month>0[1-9]|1[012])(?P=seperator)(?P<year>\d\d\d\d)
/
gm

Description

Loading markdown...
Submitted by hanefi - 5 years ago