Trying to create a regular expression HH:MM A. required two digit for HH and MM and space then Meridien AM/PM - caps only.
Find many answers on other posts but it didn't work exactly. Mostly I used to do with time picker control. But wants to go with regex for current scenario.
((1[0-2]|0?[1-9]):([0-5][0-9]) ?([AP][M]))
above one also allowed, 1:23 AM or 1:23AM. Need only, 01:23 AM allowed. 12 hours format. can you guide on this. It allows leading 0 and space options. Thanks.