Last active
August 29, 2018 11:14
-
-
Save maulerjan/675c1a03dbb9f267a8f3375c4b51f9dc to your computer and use it in GitHub Desktop.
Time validating regular expressions
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-1][0-9]|2[0-3])(?::[0-5]\d){2}$ |
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-1][0-9]|2[0-3]):[0-5]\d$/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment