2
Answers

regex for time

Ask a question
what will be the regular expression for allowing data to be entered in texbox in following format

11:00 am
01:59 pm
05:47 AM

note am pm can be both capital and small
hours shold be always 2 digit i.e, 01 and not 1

Answers (2)