Hi
I am having issues to find out a particular character in a string. I have used the Regex Search, and I want to find if a particular character appears on it . The character is \ .
It issues an warning as : "parsing ""^\"" - Illegal \ at end of pattern."
err, you should escape the backslash with a backslash, since it's a special (escape) character
I suggest to test your regex with https://regexstorm.net/tester for example.
thanks. solved. :)
"how do i check if [ ] exist in strings using regex search
Like above, escape each of the characters with a backslash.
\[\]
Here's an example. https://regex101.com/r/2bph06/1