Hi,
I need help asap. hope someone can help me.
Im using this regex "^((0?[1-9]|1[012])(:[0-5]\d){0,2}(\ [AP][M]))$" to validate the time im entering the textbox.
it should accept format like: 12:00 AM, 1:00 PM, 9: AM but it is also accepting inputs like 12:00AM 1:00PM.
I mean it should not accept the input if it has no space before the AM or PM.
Thanks in advance.