Regular Expressions 101

Library entries

Date expression

Vote

0

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by Alan - 6 years ago