I have been using Notepad ++ for years as my Windows Notepad replacement.
It does highlighting and line numbers, these were my first reasons for using it. Notepad ++ has been my best friend for writing scripts and HTML files.
Now I had a new challenge and my buddy Mike told me that Notepad ++ would be my easiest and FREE solution.
Here was my dilemma – I had 8,342 HTML files and I needed to replace some text on every single page to reflect a company’s identity tweaking. The company was mostly adult-oriented before and now they are trying their hand at mainstream. They needed to remove the word ADULT from their company name every where throughout their site. Now your friendly neighborhood admin was not going to be doing this manually – that was for sure. So I fired up Notepad ++ and searched for this magic option.
Sure enough there it was on the search menu – the option that was going to make my life easier – “Find In Files”.
Using this awesome feature I am able to have Notepad++ find all files with the word I choose in them. It then shows me the results of my search. Once I click on all the instances I want to change, it will open those files. I can then do my “replace on all open files”.
After you find all your instances and have all the files open in Notepad ++ you can then click over to the replace tab – now you will see a option to replace throughout ALL OPENED FILES! Sweet!
I am guessing that some of you out there have never heard of or used Notepad ++ before. So let me run down the basic features with you. If you are a scripter, coder or any type of programing monkey this program will make you salivate!
Check it out, Notepad ++ has:
- Syntax Highlighting and Syntax Folding
- User Defined Syntax Highlighting
- Regular Expression Search/Replace supported
- Full Drag “˜N’ Drop supported
- Multi-Language environment supported
- Brace and Indent guideline Highlighting
- Macro recording and playback
Do you have another way to find and replace throughout a slew of files? After completing this task I was told about another free application that might have made my life even easier… It is called BkReplaceEm and stay tuned for my review!