I need a regular expression to be used in the form. The rule is simple, the format must be MMAYY.
Example of valid MMAYY:
01A21
12B20
01A22
Example of invalid MMAYY:
01121
22A21
I tried the below but it will check for MMYY only.
^0[1-9]|^(11)|^(12)[0-9][0-9]$
Any help will be appreciated. Thank you!