notepad++ add character to end of every line code example Example: notepad++ adding-a-word-at-the-beginning-of-every-line? Search for: ^(.+)$ Replace with: "\1"