nishant ranjan

nishant ranjan

  • NA
  • 415
  • 0

regex for time

Feb 10 2012 6:45 AM
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)