Regular expression for asp:RegularExpressionValidator with format MMddyy (leap year issue)
OK, you asked for a regex. Here it is. I think it’s immediately obvious why it’s not a good idea to validate a date with a regular expression: First, the verbose, commented version to at least make understanding this beast possible: ^ # start of string (?: # either match… (?: (?: # 31st day … Read more