Regular Expressions 101

Library entries

Date validator for mm/dd/yy

Vote

2

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by Dheeraj Khushalani - dotnetguy.net - 7 years ago