Created
July 23, 2013 23:39
-
-
Save wpsmith/6067068 to your computer and use it in GitHub Desktop.
RegEx: Notepad++ Append & Prepend to each line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Press CTRL-H to bring up the Find/Replace Dialog. Choose the "Regular expressions" checkbox near the bottom of the dialog. | |
To add "test" to the beginning of each line, type "^" in the "Find what" field, and "test" in the "Replace with" field. Then hit "Replace All". | |
To add "test" to the end of each line, type "$" in the "Find what" field, and "test" in the "Replace with" field. Then hit "Replace All". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment