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
ISO8601-duration
Open Workspace
Golang
Match
Created 2021-02-21 18:49
0
Regular Expression
`
^
P
(
(?P<year>
\d
+
)
Y
)?(
(?P<month>
\d
+
)
M
)?(
(?P<day>
\d
+
)
D
)?(
T
(
(?P<hour>
\d
+
)
H
)?(
(?P<minute>
\d
+
)
M
)?(
(?P<second>
\d
+
)
S
)?
)?
$
`
Description
No description provided.
Submitted by
johndunne