In your regular expression dont use ‘|’ the vertical bar character. i spent nearly 5 hours debugging my code. in my pattern i had the ‘|’ character as the string contains it as a delimiter. the regex always returned true
In your regular expression dont use ‘|’ the vertical bar character. i spent nearly 5 hours debugging my code. in my pattern i had the ‘|’ character as the string contains it as a delimiter. the regex always returned true