Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
r"
(?<!\d) (?: [0-9]{4} (?: (?:0[1-9]|1[0-2]) (?:0[1-9]|1[0-9]|2[0-8]) |(?:0[13-9]|1[0-2]) (?:29|30) |(?:0[13578]|1[02]) (?:31) ) | (?: [0-9]{2} (?: 0[48] |[2468][048] |[13579][26] ) |(?: 0[48] |[2468][048] |[13579][26] )00 ) 02 (?:29) ) (?!\d)
"
gx
Unit Tests
There are no unit tests, click
here
to add some.