Hi
im using the regular expression object property 'Pattern' to validate my time. I have created the condition but it seems that there is something wrong with it. When i do the testing the conditions are not applying.
My condition for time example(not case sensitive): 12:00 PM
or: 12:00PM
or there is a case where the user can type(not case sensitive): asap
here is my line of code:
"^((([0][0-9])|(([1][0-2])|[0-9]))(([0-5][0-9]) AM|PM) |([0-5][0-9]AM|PM))) | (ASAP)$ "
i know i have some syntax error in there but not able to find what the error is. Plz advise
im using the regular expression object property 'Pattern' to validate my time. I have created the condition but it seems that there is something wrong with it. When i do the testing the conditions are not applying.
My condition for time example(not case sensitive): 12:00 PM
or: 12:00PM
or there is a case where the user can type(not case sensitive): asap
here is my line of code:
"^((([0][0-9])|(([1][0-2])|[0-9]))(([0-5][0-9]) AM|PM) |([0-5][0-9]AM|PM))) | (ASAP)$ "
i know i have some syntax error in there but not able to find what the error is. Plz advise