This page has been robot translated, sorry for typos if any. Original content here.

How to replace one also that blah blah fragment of text in many documents

When working with text documents, sometimes it is necessary to replace one and the same block of text in many documents. For example, the company has changed the address or phone number, or type of property or the name of the director. It is quite possible to call such a situation an emergency, because the number of documents in which it is necessary to correct the changed data is simply huge. To solve this problem, it is allowed to use the Handy File and Replace utility. The Handy File and Replace program is a kind of "find also replace" command, but it does not work on the scale of a single file, but on the scale of files on one folder or even a disk.

The program can hastily find also change a fragment of text documents of the most popular formats, among them - doc, txt, html, xml, php and even listings of programs in the most popular programming languages.

Handy File and Replace is a means of searching also for replacing texts in no way only in text documents. With its help, it is allowed to replace the means of displaying a fragment of text in web documents without opening their code. For example, it is allowed to make the text bold or change its color by setting the appropriate tags.

In the program window on the tab "Files and text" the main parameters of the program’s labor are indicated. Among them is a folder in which it will be necessary to search for files, which text to find also which to change. By default, the case of letters is not taken into account when searching in documents, but this setting can be replaced by checking the "Case sensitive search" switch.

Files in which you want to search also replace text are selected by the specified mask, in which it is allowed to specify not only the type, but also the file name. Additionally, you can specify a search in the subdirectories of the folder you are viewing.

As a result of the work, the Handy File and Replace program will search for a phrase in the specified folder and also replace it in accordance with the specified parameters. A chronicle of changes will be presented in the utility window. By default, for all files into which the program has made changes, a backup copy will be created containing the previous version of the file. Before replacing text, it is allowed to specify only a fragment search in the specified folder. To do this, select the "Search only" switch.

A program can search files that have been created, changed, or simply opened at a certain time. To configure these parameters, use the "Date" tab.

Additional search parameters can be set on the "Properties" tab. This is a limitation on file size - it is allowed to search also replace files with the specified size, or those that are larger or smaller than the specified number of kilobytes. In the security settings it is allowed to set the program actions regarding files marked as "Read only".

The program can keep statistics by writing all the changes to the html-file. Handy File and Replace can replace not only text in any way, but also special characters, for example, a tab character, a newline character, a slash.