Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have more than 1000 php files.

I need to BULK search and replace a text.

I want to serach and replace both file content and filenames.

Is there any script or software available to do that?

share|improve this question

migrated from Dec 24 '11 at 16:48

This question came from our site for pro webmasters.

I use windows 7 – Giri Dec 23 '11 at 21:36
up vote 9 down vote accepted

Try Notepad++ for find and replace file contents

share|improve this answer
Does notepad++ let you search and replace all files in an entire directory tree? – Lèse majesté Dec 24 '11 at 15:46
yes, you can find and replace text in files in a directory ( and all sub directories) – Ashian Dec 24 '11 at 16:23

Try TextPad, although you have to open the files, you can open all at once. Global find and replace works very fast.

You can also try Replacer

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.