I Have this regex a perfect to to match mm/dd/yyyy on all condition time format but i need to modify it a little bit
if someone insert 09/04/1980 its work perfect, but this 5/9/1990 (1 digit) will error :(
can someone fix it for me ?
this is my current regex :
(?:(?:0[1-9]|1[0-2])/(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31))/(?:19|20)[0-9]{2}