Displaying page
of
pages;
Items to
Title |
Test
Details
Date
|
Expression |
^(([0]?[1-9])|(1[0-2]))\/(([0]?[1-9])|([1,2]\d{1})|([3][0,1]))\/[12]\d{3}$
|
Description |
This regular expression matches the format MM/DD/YYYY. Month and Day can have an optional leading 0. Months are from 01-12, days are from 01-31, and years are from 1000-2999.
|
Matches |
1/1/1999 | 01/01/2001 | 12/31/1900
|
Non-Matches |
00/12/0999 | 13/1/2000 | 10/0/2009
|
Author |
Rating:
Chris McCall
|
Displaying page
of
pages;
Items to