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
Hour regex
Open Workspace
PCRE2 (PHP)
Match
Created 2022-11-23 00:02
0
Regular Expression
/
(
[
01
]
[
0
-
9
]
|
[
2
]
[
0
-
3
]
)
:
(
[
0
-
5
]
[
0
-
9
]
)
/
Description
Define 24 hour format
Submitted by
Anonymous