I am using following regular expression to accept the time in 24hr format in Objective-C.
(^([1]?[1-9]|2[1-3])?(\\.([0-9]{1,1})?)?$)
It is working perfectly, but it accepts the empty string. I don't want it to accept the empty string. Could you please guide?