Answers for "regex validate date format mm/dd/yyyy"

0

regex for date mm/dd/yyyy

function validateDate(testdate) {
    var date_regex = /^d{2}/d{2}/d{4}$/ ;
    return date_regex.test(testdate);
}
Posted by: Guest on April-05-2021

Code answers related to "regex validate date format mm/dd/yyyy"

Code answers related to "Javascript"

Browse Popular Code Answers by Language