Multi Replacer

Main Window

Starting New Project

  • Single Search: This option is used to search only a text in a file or in a directory.
  • Single Replace: This option is used to search only a text in a file or in a directory and if prompted, it is used to replace.
  • Multi Search: This option is used to search one or more information on one or more files and directories.
  • Multi Replace: This option is used to search and replace one or more information on one or more files and directories.
 

Single Search Page

Single Search

This page is to search through a file or a directory or a page is used for some input operations.


File List Page
File List Page
When the search is started, Process Viewer Form appears and search is performed on the files and directories specified previously. Files found are listed on File List page so as to appear within the container folders.
  • View Detail: This button displays the content of the file selected from the file list. File content can be viewed in 3 formats.
    • View Normal
    • View 80 Column Text
    • View Hex
    Note: View 80 Column Text and View Hex features can't be used with Unicode file operations.
  • View Diff: This button can be used only with replace operations. It opens Diff Utility form that shows the status of the file selected in the file list with details before and after replace operation.

Detail View Window
Detail View
This button displays the content of the file selected from the file list.

Diff View Window
View Diff
This button can be used only with replace operations. It opens Diff Utility form that shows the status of the file selected in the file list with details before and after replace operation.

Matches Window
Matches Form
On this form, files found after the search operation and lines matched within the file are listed.

File Format Options
When this button is clicked, a form with the record format of the file, in which the text information will be searched, and related options appears.
  • CSV Files
  • fixed length text files

File Selection Page
File Selection Page
Operation on multiple file sources can be performed with Multi Search and Multi Replace operations.

Words Page
Words Page
More than one information to be searched can be entered with Multi Search and Multi Replace operations. Added search information appears in Words list. When Add button is clicked, "Add Word" form appears on the screen. Searching and replacing information is added to "Words" list with Add Word form.

Add Word Window
Add Word
  • Search Text : Enter the searching text here.
  • Sub Match Text: When carrying out replacing operation, it allows searching another information within the one being searched. Replacing operation is performed by searching "Sub Match Text" information within each "Search Text" information found, and then replacing with "Replace Text" information. If sub match text hasn´t been entered, text field found as a result of the search is replaced completely with the text entered in Replace Text box.
  • Replace Text : Enter the replace text here.
  • Enter Hex Data : Enter Hex Data can be used to enter hex data to the Search Text ⁄ Replace Text etc. Boxes. If clicked to the enter hex data link, hex data entrance form is displayed to the screen. The Hex info is filled to this box on the form and using ok button; the filled text info are applied. These inputs displays as ASCII characters on the search text box.
  • Use Sys Var : It is used to add some system variables to Search Text, Replace Text, etc. boxes. Among them, variables under File Informations option show the information belonging to the file on which search is performed. Variables under Current DateTime option show the information belonging to the start time of the search.
  • Case Sensitive : When this box is checked, the search is done case-sensitivity.
  • Regular Expressions : This box should be checked for searching by using Regular Expressions.
  • Whole Words Only : When this box is checked the condition of being whole word is added to the search process.
  • Keep Case Options: While the text found with a replace operation is being changed with Replace Text, this option is checked to find lowercase and uppercase compliance according to the text found. To use this option in normal text searches without using Regular Expressions, "Case Sensitive" option must also be disabled.
  • On matched : This step is a answer of the question "How does The program decide to continue the process in the case of finding text info while searching operation". This box has the following options:
    • Continue Scanning: This option is selected as default and the program runs from the previous one.
    • Search within one file only once: If this option is selected, then only one text information is searched. When text information is found within the file, search operation passes to the next file, if any.
    • Stop the search operation after the first file found: When this option is selected, search operation is stopped after the first file in which text information is found. But the search continues until the end of file.
    • Search within one file only once Stop searching when found: When this option is selected, search operation is stopped with the first file in which text information is found. The rest of the file in which the text information found isn't searched. This must not be confused with the previous option.
    • Use search starter: During the search operation in a file for more than one information, it may be desired to start the search beginning from text information. To specify text information as a search starting point in Multi Replacer program, this option is checked from On Matched box. Note: This option is found in Multi Search and Multi Replace operations.
    • Use search stopper: During the search operation in a file for more than one information, it may be desired to perform the search until text information. To specify text information as a search ending point in Multi Replacer program, this option is checked from On Matched box. Note: This option is found in Multi Search and Multi Replace operations.
  • Requirement : When many search operations are performed on a file, linking the search to inclusion or exclusion of a text may avoid unnecessary search operations. Default value of Requirement box is "Not Required". In this case, "Requirement" box doesn´t have any effect on the search. If it is set to "Match Required", then the condition for specifying search text for each file searched is added. Other search operations aren´t performed on the files that don´t have search information. If "No Match Required" is selected from Requirement box, condition for specifying "Search Text" information is added. Other search operations aren´t performed on the files that have search text information. Requirement box uses grouping feature with Group No box. Some search operations may need to run dependently with each other, some of them may need to run independently. For this reason, the same number is assigned for the words to be run dependently with each other. Group number of the words that will run independently can be set as "0".