Replace Text In Multiple Files With Replace Text
Replace Text is a text replacement software program for the Windows operating system that can replace text in multiple files at once.
A former work colleague of mine ran into a problem at every year's end. He was the owner of a website that consisted of many static html files.
There was no dynamic content and he faced the problem that he needed to replace the copyright notice on all html files at the end of the year so that the new year would be shown on all pages in the copyright notice on the website.
He replaced the information manually - and probably still is - which is a lot of repetitive work. There are tools to aid users in handling text replacement tasks and Replace Text is one of them.
Replace Text
Replace Text is a text replacement software program for the Windows operating system that can replace text in multiple files at once. The program has been designed to work with all kinds of text files including plain text files but also html or php files to name a few. Basically, if it can be loaded in a plain text editor, Replace Text can be used to change text in the file.
All text replacement operations are handled in groups which remain in the program even after the text replacement operation has finished. This gives users lots of flexibility.
The work colleague for instance could use the same group each year, modify the replaced text to reflect the new year, and run the replacement on all files again without having to worry about configuring the task again.
Single or multiple files and even complete directories can be added to each group. It is possible to use include and exclude filters to perform the text replacement only on desired files or file types, and not all that are found in a directory.
Replace Text can be configured to save the processed files to another location on the hard drive, or to create a file backup of the files to store the original files in a save location. This is recommended as it allows you to restore the original files if the operation does not work as expected.
The software supports a variety of text replacement operations from standard string replacement to exact matches, ranged searches and regular expressions. Standard string replacements can be configured in a few seconds by entering the original and replacement text, while other operations may take more time to set up properly.
Replace Text is a free software program for the Windows operating system that can replace text in multiple files at once. Its advanced features make it a prime choice for users who need a text replacement program.
Update: According to the Eco Byte website, Replace Text is no longer support. While it should work fine on most systems even those running Windows 7 or newer versions of Windows, the developing company notes that the program has known issues on some Windows installations.
A test on a Windows 10 machine worked out fine though.
Just downloaded it, not exactly sure why it was trying to run 2 sets of replaces at the same time, but basically it did the trick, updating old Google Analytics code to new in close to 100 pages, and replacing another chunk of code by something new. I reckon it saved me a couple of hours of boring edits, not to mention the potential for human errors.
Tony it is ideal for that. I too have used it for a HTML based site and editing of code on all of the site’s pages.
this feature exists in Notepad++
Ð .S. Used it since 2001.
Excellent program, successor to BK ReplaceEm. Used it many times and it helped me with many jobs.
Normally I used command line or shell script.
http://www.susethailand.com/suseforum/index.php?topic=1114.0
http://www.susethailand.com/suseforum/index.php?topic=295.0
Thank you,
Another good one is seeker: http://www.veign.com/application.php?appid=104
Been using that for a couple of years.
i personally use “Extended Search and Replace” of CFI shelltoys. works the same i think :/