I need a regular expression which satisfy the condition 01:00 am
satisfy --> 01:00 pm,12:30 pm, 09:05 am
dont satisfy --> 1:00 am, 2:5 pm ,02:5 pm
the condition must follow 12 hr format., if any values like 13:00 pm ,20:30 pm never satisfy....
Please help me...
Thanks in Advance....
Loading
Roei BarPosted Sep 23, 2009, 2:42 AM
Roei BarPosted Sep 23, 2009, 6:54 AM
01:15pm - not accepted
1:15pm - accepted
do you want both accepted?
Sibin AAPosted Sep 23, 2009, 2:54 AM
This expression has a problem ..... that is .,The time format like 1:15 pm is accepted by this condition, which never accept. only 01:15 pm accept
accept ---- 01:20 pm
never accept ---- 1:20 pm
this is the problem.. Please help me to remove this problem
Thanks in advance..
Sibin AAPosted Sep 23, 2009, 2:49 AM