How to add a string to the end of each line in VS Code using regex?
The easiest way to do it is like this:
Find: .$
Replace: $&Donkey
You can use:
$ = end of line ^ = begin of line
This patter does work on my VS Code but only on lines that actually contain something. Empty lines stay empty.
Find: ^(.*)$
Replace: $0 Donkey