Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
^([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\/([2][01]|[1][6-9])\d{2}(\s([0-1]\d|[2][0-3])(\:[0-5]\d){1,2})?$
|
Description |
This is a regular expression to validate a date string in "MM/DD/YYYY" format, a date time string in "MM/DD/YYYY HH:MM" or a date time string in "MM/DD/YYYY HH:MM:SS" format.
It can validate date from 1600 to 2199.
|
Matches |
12/30/2002 | 01/12/1998 13:30 | 01/28/2002 22:35:00
|
Non-Matches |
13/30/2002 | 01/12/1998 24:30 | 01/28/2002 22:35:64
|
Author |
Rating:
Spring Zhang
|
Displaying page
of
pages;
Items to