Editing all instances of a string in Notepad++

I have several instances of a variable or a phrase, and I want to rename it. How do I edit all of them at the same time in Notepad++?

2 Answers

CTRL+H to get to the Replace dialog (or Search ==> Replace via the menu).

Input the string to find and input the string to replace it with and then hit the 'replace all' button on the right.

1

You can also use Notepad++'s Mutli-Editing feature to do this inline.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like