Incorrect use of '$'

Home Topic     Print this Topic

 

The character $ has been incorrectly used in the regular expression. In a regular expression $ must be the last character where it represents the end of a line.

 

To search for $ in a regular expression you must use \$

 

Examples

Te$xt

Error!

$

Error!

\$

will search for $

Text$

will search for Text at the end of a line