Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 webmasters.stackexchange.com 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
add comment

3 Answers

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
2  
yes, you can find and replace text in files in a directory ( and all sub directories) –  Ashian Dec 24 '11 at 16:23
add comment

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
add comment

This software is FANTASTIC for search/replace for files/folders... it gives you a live preview of your regular expressions!

http://www.abareplace.com/

A "must have" tool for every developer...

share|improve this answer
add comment

Your Answer

 
discard

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.