Regex Find and Replace on Notepad++

  1. The Dollar

Find: $

Replace: any text

What will happen:

If you click on Replace All, the “any text” will be added at the end of each line of your text file.

  1. Removing leading and trailing spaces

Find: ^\s+|\s+$

Replace:

This will remove leading and trailing spaces per line.

Comments

comments

Posted in Tips, Tweaks, Windows and tagged , , , , .