Regular Expressions 101

Library entries

Date between 1950 and 2050

Vote

2

Regular Expression
javascript

/
^(0[1-9]|1[0-2])-([1-9]|[12][0-9]|3[01])-(19[5-9][0-9]|20[0-4][0-9]|2050)$
/

Description

Loading markdown...
Submitted by Daniel Quijada - 6 years ago