Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^(1[0-2]|0?[1-9]):[0-5][0-9] (AM|PM)$
/
gm
Input 1
1
New
11:45 PM 11:45 MP 11:4 PM 1:45 AM 11:45:AM :45 AM // You can show origina post on albertcolom.com/blog
Extraction