top of page

Notepad++ : Remove the last character from all lines with Regex

  • Writer: Krishnaraj Rajagopal
    Krishnaraj Rajagopal
  • Feb 13, 2018
  • 1 min read

Use the following search string in the find and replace window within Notepad++ to remove a specific last character from each line. Ensure to check the Regex search box when performing this find and replace.

char$

The following example will remove semi-colon from end of each line

;$

Comments


©2017 by Krishna's Tech Notes. Proudly created with Wix.com

bottom of page