Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Time validating regular expressions
^(?:[0-1][0-9]|2[0-3])(?::[0-5]\d){2}$
/^(?:[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
You can’t perform that action at this time.