Regular Expressions 101

Community Patterns

Date with format YYYY-MM-DD

0

Regular Expression
PCRE (PHP <7.3)

/
^[0-9]{4}-[0-1][0-9]-[0-3][0-9]$
/

Description

no description available

Submitted by Kazadri - 8 years ago