Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

use regex to make sure it is a date

^[0-3]?[0-9]/[0-3]?[0-9]/(?:[0-9]{2})?[0-9]{2}$
Source by www.oreilly.com #
 
PREVIOUS NEXT
Tagged: #regex #date
ADD COMMENT
Topic
Name
9+9 =