4m4d3u5
6 years agoContributor
Regular expressions
I want to give a user a input box and have them enter a value in a particular format like 00:00, where the input has to be a number from 0-60 in the 00:00 format. This would be done using regular expressions. Does anyone know how to work with regular expressions with user input boxes so that if a user enters outside the bounds of a format that it would give the input box back to the user?