Displaying page
of
pages;
Items to
Title |
Test
Details
mm/dd/yyyy hh:mm:ss Date Time
|
Expression |
^(0[1-9]|1[012])[/](0[1-9]|[12][0-9]|3[01])[/][0-9]{4}(\s((0[1-9]|1[012])\:([0-5][0-9])((\s)|(\:([0-5][0-9])\s))([AM|PM|]{2,2})))?$
|
Description |
I got a regex for date time from here, which had some bugs. so i referred a few regex from this site and created a regex which i tested and didnt find any errors. I will check again and update if required.
|
Matches |
12/24/2004 12:42:25 AM, 12/24/2004(without time)
|
Non-Matches |
12-24-2004 12:42:24 AM, 12/24/2004 12:42:24 am
|
Author |
Rating:
Not yet rated.
anil kumar b
|
Displaying page
of
pages;
Items to