Edit , find and replace text in multiple files
When you develop or support a large website that contains a number of pages and programming code, it is frequently necessary to make a change immediately in many files, add new text or new links in various webpages, change descriptions, key words and other metatags, repair inactive links, and redesign and optimize pages for search engines. The Multiple File Search and Replace program was developed for just these purposes. Despite the great quantity of narrowly-defined programs of this kind, Multiple File Search and Replace has a number of significant differences and advantages. The program has a more convenient interface, which is oriented toward webmasters, web developers, and search engine optimization (SEO) staff. The program does not require that you learn macro languages and read documentation. It has gathered together all functions necessary to accomplish these tasks, and presents them in a form of a convenient and understandable interface, not demanding excessive confirmations and actions from the user.
The program will also be very useful in processing XML files, converting and pre-processing text files, deleting or modifying special symbols or line breaks, and for editing a large number of web pages and other text files. With this program, you can quickly fix HTML code, text, and hyperlinks, and insert new links or transform the design of the entire site.
The program is designed with the following capabilities:
- Global search and replace
- Search and replace between defined delimiters (identifiers or metatags)
- Search on presence or absence of a specific word in a selected portion of the text
- Replace special characters and line feeds
- Insert text before and after a specific delimiter
- Insert text between identifiers
- Insert based on presence or absence of a specific word in a selected portion of the text
- Insert special characters (CRLF)
- Change line feed characters
- Delete specific words or special characters
- Delete specific words based on presence or absence of a specific word in a selected portion of the text
- Delete or replace line feeds
The programís main menu and defaults are shown above. You can create several text-processing jobs and run them repeatedly later. A job can contain many rules.
On the left on the programís main screen is shown the directory path and a template for files to be processed.
On the right, the table displays the processing rules. The first column shows the type of action - Replace , Insert, Delete, etc.
- To create a new rule, click on Add.
- To edit, click on Change.
- To delete, click on Delete.
In rule-editing mode, you see a form to enter the parameters for the rule. Everything is obvious here. Enter the text that you wish to find, and the text with which to replace it, and so forth.
Save the rule, and it appears in the table of the main form. Save the job. Next define where you will save the result: overwrite or new file. In the latter case, define a file-naming template. You can use variables to create file names.
The rules for including or deleting text are created in an analogous manner.
To search for a text excerpt, the capability of creating identifiers in the text to be processed has been designed in.
In the program , these fields are called Begin and End. I.e., you can define that text to be processed is located after the Begin identifier and before the End identifier.
For example, it is necessary to change the metatags on the HTML pages for an SEO site. To do this, you set up the replacement of text to be after the <head> identifier and before the </head> identifier at the end of the block of text, and then insert the necessary text for the replacement.