Skip to content

Instantly share code, notes, and snippets.

@GregGallant
Created April 8, 2014 17:16
Show Gist options
  • Save GregGallant/10158135 to your computer and use it in GitHub Desktop.
Save GregGallant/10158135 to your computer and use it in GitHub Desktop.
Regex for Dates
(19|20)\d\d([- /.])(0[1-9]|1[012])\2(0[1-9]|[12][0-9]|3[01])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment