Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
\d{1,2}[-\/]\d{1,2}\s?[\-\/]\s?\d{4}
/
gm

Description

Date match on multiple formats

Submitted by anonymous - 3 years ago