Do Multiple Search & Replaces in Several Files with BKReplaceEm
We spoke about Notepad ++ being my favorite notepad replacement tool a few days ago. I used it to search and replace some text and code in thousands of HTML files. It was great, it was free but – it left me clicking on each file I needed to modify so I could run the “Replace In All” open tabs command.

This was a little tedious to say the least. I was so happy with not having to manually change all the files that this did not hit me until I had opened my 1,000th file. Don’t get me wrong I got pretty good at it but this was not how I wanted to waste my time.
Enter BK ReplaceEm (if the link doesn’t work, get it from here), a free program from around the late 1990’s. It is no longer in development, the author’s website is down and the app is no longer supported BUT it still works AWESOME!
When you launch it you will see a screen that looks like this :

Don’t be intimidated. There are loads of options and this baby is super powerful. If I would have used this for my previous task, I would have saved thousands of clicks. Let’s take a look at an actual ‘find and replace’ operation. Highlight the ‘Sample Replace’ Group. Right click and choose ‘Add Files’. You will get the following window:

Here is where you select what files, folders and extensions to process. The other tabs show where you want the changed files written to and where and how you want the backup files created/stored.

I choose to leave my modified files in their original location and to create a backup of each with the .backup extension. This way I can move all of them out when I am sure I didn’t screw something up royally.
Now we are ready to hit the magic replace button on the upper left toolbar. It looks like this:

Then it will take off doing your dirty work for you and you will see a progress window like so:

If you use this program or something similar shout us out in the comments!
(By) Karl Gechlik is a superhero of the IT industry. His days are spent monitoring and maintaining systems on Wall Street. He helps people with their technical issues for free over at AskTheAdmin.com.



does it support regex as nicely as Notepadd++?
In BK ReplaceEm, first right-click on a row of search/replace text and choose Advanced Edit. Then choose Regular Expression from the drop-down list at the bottom-left.
For the search text (in this example, adding a mirror in a html file), type:
“>Canadian CCP14 Mirror\] \|
\[US CCP14 Mirror\]
(though you may have to add multiple versions if you were careless with setting up the original HTML and there are very minor varients)
“>Canadian CCP14 Mirror\] \|
\[US CCP14 Mirror\]
Notice the use of escaping square brackets and pipes with the backslash since they are special regular expression characters
For the replace text, type:
“>Canadian CCP14 Mirror] |
[US CCP14 Mirror] |
[Australian CCP14 Mirror]
So I guess the answer would be yes.
Nice app!
I think this won’t work with UTF-8 file encoding…
Do you know a newer clone?
Yes, totally agreed, I have tried many free find and replace tools. Believe me this is the best one. I can’t even believe this is freeware…..