This is a simple tool for batch replacement on text-based file, mainly on HTML file, but can also be used on other text-based files, such as rtf, xml, csv, asp, etc.
In 1.2, searching speed is greatly improved.
From 1.2, highlighted result now will appear in sight automatically.
In Easy Replace 1.1, we add a new source code viewer, with colored syntax view and highlighted matches, which greatly enhanced searching function and visual controlability.
HTML file and all can file can be shown in browser now will be previewed in inner browser.
We changed the file list view to a more beautiful table, with color-identified rows.
In version 1.0, wrong-written Regex will crash the program, now fixed.
Of course, there's usually replacing tool in every editor software(Find or Search and Replace), such as MS Word, Dreamweaver, Ultra Edit, Edit Plus. But this replacing tool can do a more powerful and professional replacing work (that's also why I wrote this software, because those replacing tools doesn't make me satisfied):
Easy Replace can find all matches and count the matched numbers of each file. You can also use it as a searching tool, you can find which file contains the key word and where and what the keywords are in a file. All matches will be highlighted in source code view.
Easy Replace offers very fast mass replacing function.
In replacing single file or several small files, this advantage is not obvious, but for mass project, hundreds of files or thousands of replacement in each file (i.e. replacing space or line breaks), you will find this tool is much more faster than other software.
You can preview any file to watch the file changes. Easy Replace will invoke the proper software to open the file.
The source code of current file in single file mode, or selected file in Folder mode, will be shown as colored text by syntax, which makes it easy to read. Matches will be highlighted, you can easily known the whole situation of all matches and how the source code will be modified. Plus, invisible characters can be seen.
You can use single file mode as a test before mass work, especially when you are not sure about the result.
To keep the source file safe, the program will back up the files automatically by default. (This function will take the same disk space as your original files, but it's worthy)
You can restore your original files when you are not satisfied with the replacement. (The restoration is depend on you didn't remove the back up option.)
Easy Replace offers a from-to mode to do paragraph replacing across lines easily. You can just specified the starting words and ending words (be sure it's unique and can identify the paragraph).
Easy Replace adopts common popular Regular Expression grammar which Micorsoft also adpots(but not the wildcards of Microsoft). It's compatible with most other Regular Expression standards, covering most often used functions. (Some special or complicated phrases that rarely used are not supported).
Caution: You never need write regular expression delimiters, such as /exp/ in Perl style, nor string delimiters such as "exp", just write your expression directly, such as exp, in the box.
About details of Regular Expression please see
About Regular Expression
You can perform a series of replacements on your files, which is much faster and safer than replacing them one expression to another expression.
Via Rep Command, your work can be reproduced and your replacing parameters can be reused. Then you can improve your work of replacement and accumulate scattered patterns into squadrons for big replacement.
Through actions, you can even proceed format conversion or make advanced change on files. Our examples on website are mostly in action mode. You can download from our website free or compose your own rep. command file.
About the grammar of rep. command file please see
Replacing Command
Specify the folder contains the files you want to replace. Sometime you may need to collect or classify your files to a working folder for replacing.
The files may have the same extension name, you can choose the extension in list box, or choose other type and input the file extension. You can also select all files if they are in different types.
If you select a kind of file with some extension, only the files listed will be processed, while other files in the folder but not listed will be left.
Select your replacing mode, for simple replacement of some key words, choose normal mode; if you want to replace some part of a file or paragraphs, choose from-to mode; otherwise if you want to do complex replacement and know some Regular Expression, you can choose the Regular Expression mode.
Please see details of the three modes at
Replacing Modes
Input key words or expressions you want to replace in 'Replace' box, then the result key words or expressions in 'Replace with' box.
You would know if and how many your key words or expressions has been found in files.
That's very simple, press the button, the replacing process then begins.
Replacing counts and status will be shown.
(If you are processing a lot of files, it may take a little while.
The time it will cost depends on you files amount, size, your computer's speed, and the key words you inputted. Caution, bad-written expression will halt the work.)
Even after replaced, you can also retrieve all your original files by just press the restore button. Then all files will be restored and backup files will be deleted automatically.
Though backed up files will consume disk space, you can delete them manually after your replacement confirmed.
You'd better know if your key word or expression can be found, and how many matches in all files.
You can choose some file, to do the replacement first as an sample. You can replace and revert freely without writing the file, watching the source text cahnges, viewing the result, so taht you can make your expression exactly match your demand without error. Then you can apply it to all your files in the folder, so errors in mass replacement can be avoided.
Repeated replacement will make you lose your original backups and confuse your replacement, the best way is using action replacement.
Please see Details of Repeated Replacement