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