Regular Expressions 101

Community Patterns

Date EN

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^([0-9]{4})(\/|-)?(0[1-9]|1[012])(\/|-)?(0[1-9]|[12][0-9]|3[01])$
/
gm

Description

Date EN

Submitted by anonymous - a year ago (Last modified 10 months ago)