Notepad++ - how to add character to beginning of line & End of the line

 Your text in Notepad++
Insert text at the beginning and end of each line notepad++


Step 2: To add Text at the Start of each line 
    Press Ctrl+F to open Find window, click on the Replace tab, check that you have selected Regular Expression option, now add ^ in the Find textbox and the text you want at the start of each line in the Replace textbox, and click Replace all.

Find and Replace notpad++ to insert text at start


Step 3: To add Text at the End of each line 
    Press Ctrl+F to open Find window, click on the Replace tab, check that you have selected Regular Expression option, now add $ in the Find textbox and the text you want at the End of each line in the Replace textbox, and click Replace all.

Find and Replace notpad++ to insert text at end


Step 4: Result 
Result notepad++

Comments

Popular posts from this blog