Regular Expressions 101

Sponsors

Library entries

Date search

Vote

1

Regular Expression
pcre

/
\b(?P<date>(?P<day>3[0-1]|[0-2]?[\d])(?P<separator>\/|\-|\.)(?P<month>1[0-2]|[0-1]?[\d])\3(?P<year>[\d]{4}|[\d]{2}))
/
g

Description

Loading markdown...
Submitted by Agustín Bouillet - 6 years ago