Find and replace text for multiple files with notepad++

Posted by Shek on December 2, 2012 under Misc | Be the First to Comment | Total View: 25,367 views

Being a web programmer, there are many times which I have to move files between the production and development environment and many setting parameters within the files has to be changed. Notepad++ has such a feature to find and replace text for multiple files


Here are the steps to do so:

First open notepad++ and go to search > replace:

Then in the “Replace” window, click on the “Find in Files” tag:

  • Put the text which you want to be replaced in the textfield “Find what”.
  • Put the replacement text into the textfield “Replace with”.
  • Choose the directory of the intended text replacement files into the textfield “Directory”.

Click the “Replace in Files” button and notepad++ will replace the text in the files within the inputted directory.

Notepad++: http://notepad-plus-plus.org/

Not what you want? Try a Search

Add A Comment

*