Wednesday, March 15, 2017

Easy RegEx To Validate Dates in MMDDYY Format

This RexEx will validate dates in the format MMDDYY including leap year. I get a lot of dates from mainframe files and this is one of their favorite formats.



  • Only works for dates from 2010 thru 2029
  • Notice that the century is missing