Created
July 2, 2014 15:48
-
-
Save chsh/f7939fbc503cb985378e to your computer and use it in GitHub Desktop.
Valid date pattern for 2010-2029.
This file contains hidden or 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
| <input type="text" pattern="(201[26]|202[048])/0?2/(0?[1-9]|[12]\d)|(201[^26]|202[^048])/0?2/(0?[1-9]|1\d|2[0-8])|20[12]\d/(0?[469]|11)/(0?[1-9]|[12]\d|30)|20[12]\d/(0?[13578]|1[02])/(0?[1-9]|[12]\d|3[01])"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment