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
Date checker for X values
Open Workspace
JavaScript
Match
Created 2017-06-14 17:36
1
Regular Expression
/
^
(
(?!
xxxx-xx-xx
)(
(
19
|
20
|
x
)
[
0
-
9x
]
[
0
-
9x
]
)
\-
(
(
02
\-
(
-
[
1
-
9
]
|
[
1
-
2
]
\d
|
xx
)
)
|
(
(
04
|
06
|
09
|
11
)
\-
(
0
[
1
-
9
]
|
[
1
-
2
]
\d
|
30
|
xx
)
)
|
(
(
01
|
03
|
05
|
07
|
08
|
10
|
12
|
xx
)
\-
(
0
[
1
-
9
]
|
[
1
-
2
]
\d
|
30
|
31
|
xx
)
)
)(
(?!
xx:xx:xx
)
(
[
0
-
1
]
\d
|
2
[
0
-
3
]
|
xx
)
:
(
[
0
-
5
]
\d
|
xx
)(
:
(
[
0
-
5
]
\d
|
xx
)
|)
)?
)
$
/
mg
Description
Work in progress
Submitted by
Anonymous