How do I Replace all at end of Line?
-
0
I was able to add “Double” to all variables in the list by pressing Ctrl+H using Regular Expression Mode and replacing “\d+” with “Double”.
Now I want to add a “;” to the end of each line. How would I do this?
Double Harness Infinity
Double Hofri Ghostforge
Double Humiliate
Double Infuse with Vitality
Double Inkling Summoning
Double Kasmina, Enigma Sage
Double Killian, Ink Duelist
Double Lorehold Apprentice
Double Lorehold Command
Double Lorehold Excavation
Double Lorehold Pledgemage
Double Maelstrom Muse
Double Magma Opus
Double Make Your Mark
Double Manifestation Sage
Double Moldering Karok
Double Mortality Spear
Double Needlethorn Drake
Double Oggyar Battle-Seer
Double Owlin Shieldmage
Double Pest Summoning
Double Practical Research -
@Naeem-Heath ,
I will give you a hint:
$matches the zero-width location between the last character on the line and the newline sequence. If you replace a zero-width match with one or more characters, it inserts that replacement at that location without removing anything from the original text -
@PeterJones Thank you, it worked perfectly.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login