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
- Type ^ in the Find what box
- Type the word or characters you want to be appended to the start of each line
- Click the Replace or Replace All button as needed
Add to the end of each line
- Type $ in the Find what box
- Type the word or characters you want to be appended to the end of each line
- Click the Replace or Replace All button as needed
Regards
Follow @Saintdlehttps://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.