Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex for 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
8+6 =