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
DTM Validation
Open Workspace
PCRE2 (PHP)
Match
Created 2022-01-18 20:38
0
Regular Expression
/
^
(?'YYYY'
[
\d
]
{4}
)(?'MM'
[
\d
]
{0,2}
)(?'DD'
[
\d
]
{0,2}
)(?'HH'
[
\d
]
{0,2}
)(?'NN'
[
\d
]
{0,2}
)(?'SS'
[
\d
]
{0,2}
)(?'MS'
[
\.
]
{1}
[
\d
]
{0,4}
)?(?'TZ'
[
+|-
]
[
\d
]
{4}
)?
$
/
gm
Description
DTM Validation
Submitted by
Mike Cheel