Created
September 9, 2019 17:55
-
-
Save MarceloZapatta/04d47e4ecbf5e64c13d26d98354eb7a4 to your computer and use it in GitHub Desktop.
Regex for datetime Brazil format
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
| // 24/12/1999 15:59 | |
| ^(0[1-9]|[12][0-9]|3[01])\/(0[0-9]|1[0-2])\/[1-9][0-9]{3} ([0-1][0-9]|2[0-4])\:([0-5][0-9])$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment