Title |
Test
Find
01/01/1753 - 12/31/9999
|
Expression |
^(0?[1-9]|1[0-2])\/(0?[1-9]|[1-2][0-9]|3[0-1])\/(0[1-9]|[1-9][0-9]|175[3-9]|17[6-9][0-9]|1[8-9][0-9]{2}|[2-9][0-9]{3})$ |
Description |
Matches all dates (mm/dd/yyyy or mm/dd/yy) greater than or equal to the SQL minimum date of 01/01/1753 and less than or equal to 12/31/9999. Does not check for leap years. |
Matches |
01/01/1753 | 9/2/09 | 12/02/1980 | 12/31/9999 |
Non-Matches |
1/1/1 | 13/1/01 | 01/0/2001 | 12/31/1752 | 1-1-1900 |
Author |
Rating:
Not yet rated.
Ecyrb
|
Source |
|
Your Rating |
|