How can I find $ with regular expression?
-
I have files with $ but Notepad++ is unable to find $.
-
Regular expressions have a concept called “escaping”, where you put a
\
before the special character, and it turns it into a literal character. So if you want to search for a literal dollar sign$
rather than the end-of-line that the symbol means in a regular expression, search for\$
instead of$
.see the docs at https://npp-user-manual.org/docs/searching/#single-character-matches for more on the escaping sequence.