Created
September 10, 2019 19:45
-
-
Save MarcoVigna17/2c4504ab8fc70966fd98cd4f7b4bba70 to your computer and use it in GitHub Desktop.
ISO8601 date time with timezone regex
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
^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9]).([0-9]+)(Z|([+-])(1[0-2]|0[1-9]):?([0-5][0-9]))$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment