Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Extract time from text
Open Workspace
Python
Match
Created 2022-02-03 10:52
1
Regular Expression
r"
\b
(
[
01
]
?
[
0
-
9
]
|
2
[
0
-
3
]
)
:
(
[
0
-
5
]
[
0
-
9
]
)(?:
:
(
[
0
-
9
]
[
0
-
9
]
)
)?
\b
"
gm
Description
Extract time from text
Submitted by
Anonymous