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
Check mysql Date
Open Workspace
PCRE (Legacy)
Match
Created 2017-02-07 11:56
-1
Regular Expression
/
^\d
{4}
-
\d
{2}
-
\d
{2}
$
/
g
Description
Valid format YYYY-MM-DD
Submitted by
Anonymous