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
ISO 8601 Datetime Validation
Open Workspace
Golang
Match
Created 2020-02-20 05:46
0
Regular Expression
`
^
(
\d
{4}
)(
-
(
0
[
1
-
9
]
|
1
[
0
-
2
]
)(
-
(
[
12
]
\d
|
0
[
1
-
9
]
|
3
[
01
]
)
)(
[
T
\s
]
(
(
(
[
01
]
\d
|
2
[
0
-
3
]
)((
:
)
[
0
-
5
]
\d
)
)(
[
\:
]
\d
+
)?
)?(
:
[
0
-
5
]
\d
(
[
\.
]
\d
+
)?
)?(
[
zZ
]
|
(
[
\+
-
]
)(
[
01
]
\d
|
2
[
0
-
3
]
)
:
?
(
[
0
-
5
]
\d
)?
)?
)?
)
$
`
gm
Description
No description provided.
Submitted by
Anonymous