Incorrect use of '\'

Home Topic     Print this Topic

 

The character \ has been incorrectly used in the regular expression. In a regular expression \ must be followed by another character, which is then treated literally. To search for \ in a regular expression you must use \\

 

Examples

\

Error!

Text\

Error!

\\

will search for \

Text\\

will search for Text\