Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex for time in hh:mm:ss

^([0-1]?[0-9]|2[0-3]):[0-5][0-9](:[0-5][0-9])?$
 
PREVIOUS NEXT
Tagged: #regex #time
ADD COMMENT
Topic
Name
1+5 =