Using regular expression, how would I validate a date to make sure it is only entered in this format: mm/dd/yyyy?
If anyone is interested, I\'m using validates
validates
Regex for this format can looks like:
^\d{2}\/\d{2}\/\d{4}$