Displaying page
of
pages;
Items to
Title |
Test
Details
Date-MM/DD/YYYY MONTH/DATE/YEAR
|
Expression |
^((0[1-9])|(1[0-2]))\/((0[1-9])|(1[0-9])|(2[0-9])|(3[0-1]))\/(\d{4})$
|
Description |
This regular expressions matches dates in the format MM/DD/YYYY where MM can be 01 to 12, DD can be 01 to 31 and YYYY is always 4 digits long.
|
Matches |
12/25/2007 | 11/07/1517 | 02/25/2727
|
Non-Matches |
1/27/1977 | 00/01/000 | 15/07/2002
|
Author |
Rating:
Ravi Nandan Vaish
|
Displaying page
of
pages;
Items to