Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])$
/

Description

yyyy-mm-dd

Submitted by Alan - 9 years ago