Title |
Test
Find
Time hh:mm am/pm
|
Expression |
^([0][1-9]|[1][0-2]):[0-5][0-9] {1}(AM|PM|am|pm)$ |
Description |
Matches if the string is in hh:mm am/pm format. Also the hour and minute values should have left padding 0's if they are single digit. |
Matches |
03:45 am | 10:24 PM | 01:03 pm |
Non-Matches |
8:15 am | 16:10 | 10:60 pm | 10:13 |
Author |
Rating:
Not yet rated.
Nassim Ghods
|
Source |
|
Your Rating |
|