I want to match <>/\":;=|*?
these characters in the string, I tried this expression
<>/\":;=|*?
But It didn't work for me.
Please help me out.
For further actions, you may consider blocking this person and/or reporting abuse
I want to match <>/\":;=|*?
these characters in the string, I tried this expression
<>/\":;=|*?
But It didn't work for me.
Please help me out.
For further actions, you may consider blocking this person and/or reporting abuse
Alex Roor -
Beaver Bridge -
Aditya Pratap Bhuyan -
Urlewicz Aicha -
Top comments (2)
I'm in need of a little more context on your problem... but I plugged your Regex into this really handy tool that I use all the time when I'm debugging my own Regex code: regexr.com/
It basically just reads out what you're doing, and you can see if it's what you expected.
The first problem I see is you have an unescaped forward slash, and it looks like you're using an alternate (the | operator, that compiles to a boolean).
In general I know that the backslash is hard to match for in Regex, because by nature they're not really supposed to be used (other than for escaping), and it might require a really big, sort of ugly expression like the one in this StackOverflow thread: stackoverflow.com/questions/402548...
Sorry I couldn't do more, but I hope this helps!
Thanks for the try