I have a text box that requires an input of HH:MM:SS or even just MM:SS so if someone wants to set something for 13 seconds, it needs to be formatted as 00:13
Is there a regular expression that checks its formatting to make sure it ONLY contains the correct characters? so someone cant put "garbage" or too many numbers in there?
RegEx is definitely my weakest point in programming.
any ideas? thanks.
Is there a regular expression that checks its formatting to make sure it ONLY contains the correct characters? so someone cant put "garbage" or too many numbers in there?
RegEx is definitely my weakest point in programming.
any ideas? thanks.