Search
 
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
Name
7+8 =