I'm trying to validate the date and month in below format:
MM/dd
And now, I'm using this regex to validate:
(0[1-9]|1[0-2])\/(3[0-1]|2[0-9]|1[0-9]|0[1-9])
And the regex successfully validate these formats:
//Below are valid dates
09/05
01/01
12/30
10/30
//Below are invalid dates
11/31
09/31
How to modify the regex so that it also checks the days in month?