Pipe symbol | used in a regular expression as an “operator” as far as I know. Either this, or this, or that, or that, etc.
However, I want to check the regex string for this character. I tried to slip away from him, but that doesn't work.
How to do this, especially if I already check for the presence of several characters, for example #, &, @, etc.
source share