(0[1-9]|1[0-2])[/]([0-2][0-9]|[3][0-1])
This is for a date format in mm/dd so i want to be able to prevent 02/30, 02/31 ...
can I do an if else statement with this regex to accomplish that?
(0[1-9]|1[0-2])[/]([0-2][0-9]|[3][0-1])
This is for a date format in mm/dd so i want to be able to prevent 02/30, 02/31 ...
can I do an if else statement with this regex to accomplish that?