How to add characters at start & end of every line in Notepad++

This post was originally published on this site

I always end up searching how to add characters to the start and end of lines in Notepad++, so I thought I’d write this blog post.

  • Press Ctrl + H to bring up the Replace dialog box (or Ctrl + F and click the tab
  • Select the Regular Expression Radio Button

Add to the start of each line
  1. Type ^ in the Find what box
  2. Type the word or characters you want to be appended to the start of each line
  3. Click the Replace or Replace All button as needed
Add to the end of each line
  1. Type $ in the Find what box
  2. Type the word or characters you want to be appended to the end of each line
  3. Click the Replace or Replace All button as needed

Regards

https://platform.twitter.com/widgets.js

The post How to add characters at start & end of every line in Notepad++ appeared first on vEducate.co.uk.