How to add a string to the end of each line in VS Code using regex?

This patter does work on my VS Code but only on lines that actually contain something. Empty lines stay empty.

Find: ^(.*)$
Replace: $0 Donkey

Leave a Comment