DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
regex yyyy-MM-dd
^
d
{
4
}
-
(
0
?
[
1
-
9
]
|
1
[
012
]
)
-
(
0
?
[
1
-
9
]
|
[
12
]
[
0
-
9
]
|
3
[
01
]
)
$
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#regex
ADD COMMENT
Topic
COMMENT
Name
1+1 =
Submit