Notepad++ add something at start or end of each line
17 Feb 2015Press CTRL-H to bring up the
Find/Replace Dialog. Choose the
"Regular expressions" in Search Mode (checkbox near the bottom of the
dialog).
To add
"something" to the
beginning of each line:
·
type
^ in the "Find what" field
·
type
"something" in the "Replace
with" field
·
Hit
"Replace All".
To add
"something" to the end of
each line:
·
type
$ in the "Find what" field,
·
type
"something" in the "Replace
with" field
·
Hit
"Replace All".