| Title |
Test
Find
Pattern Title
|
| Expression |
^((([0]?[1-9]|1[0-2])(:|\.)(00|15|30|45)?( )?(AM|am|aM|Am|PM|pm|pM|Pm))|(([0]?[0-9]|1[0-9]|2[0-3])(:|\.)(00|15|30|45)?))$ |
| Description |
This expression will allow a time value with 15 minute increments. It will not accept seconds. You can use either US time or Military time format. |
| Matches |
1:00 PM | 6:45 am | 17:30 |
| Non-Matches |
4:32 am | 5:30:00 am | 17:01 |
| Author |
Rating:
Not yet rated.
Rick Yokum
|
| Source |
|
| Your Rating |
|