RegexHub
RegexHub copied to clipboard
Time in 24-hour format
it does not display single digit minutes in time it is because it is compulsary for 1st digit to be 0 to 5. if user enter minutes without 0 it does not work you can fix this by using this regex /^([01]?[0-9]|2[0-3]):[0-5]?[0-9]$/