Last active
October 11, 2015 18:07
-
-
Save neonxp/3898225 to your computer and use it in GitHub Desktop.
Date check for d.m.Y format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/^(((([0-2][0-9]|30)\.(04|06|09|11))|(([0-2][0-9]|31)\.(01|03|05|07|08|10|12))|(([0-2][0-9])\.02))\.[0-9](0|4|8)((0|2|4|6|8)(0|4|8)|(1|3|5|7|9)(2|6)))|(((([0-2][0-9]|30)\.(04|06|09|11))|(([0-2][0-9]|31)\.(01|03|05|07|08|10|12))|(([0-2][0-8])\.02))\.!([0-9](0|4|8)((0|2|4|6|8)(0|4|8)|(1|3|5|7|9)(2|6))))$/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment