Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
^((([0]?[1-9]|1[0-2])(:|\.)[0-5][0-9]((:|\.)[0-5][0-9])?( )?(AM|am|aM|Am|PM|pm|pM|Pm))|(([0]?[0-9]|1[0-9]|2[0-3])(:|\.)[0-5][0-9]((:|\.)[0-5][0-9])?))$
|
Description |
Matches times seperated by either : or . will match a 24 hour time, or a 12 hour time with AM or PM specified. Allows 0-59 minutes, and 0-59 seconds. Seconds are not required.
|
Matches |
1:01 AM | 23:52:01 | 03.24.36 AM
|
Non-Matches |
19:31 AM | 9:9 PM | 25:60:61
|
Author |
Rating:
Not yet rated.
Steve Valaitis
|
Displaying page
of
pages;
Items to