Replace

Please note that you have to execute the FIND command first, i.e. you always have to define the set of files to operate on before you may apply any replacement.

On the "Replace" tab, use the first text area ("Find...") to specify the text you want to replace. You may use a different content pattern than the one you where using to define the file set. See the description of the "Find" command for the precise meaning of the different checkboxes.

Use the second text area ("Replace with...") to define the replacement text. If you where using regular expressions for the content pattern you may use capturing groups to refer to subpatterns within brackets (()). Read the regular expression help for details.

Befor each replace operation FAR creates a backup of the concerned files. You may specify a directory of you choice or stay with the default directory. You can allways restore the backup by clicking the "Undo" button. Mind however that only the very last replace operation can be undone.

Note as well that you can browse the history of the regular expressions you have been executing. Just click into the respective text area ("Content Pattern", "Find..." or "Replace with...") and use Alt + ←, Alt + → with left and right arrow from the cursor block to move backward and forward in the history, or open the context menu.

The Reset button will reset the application to its initial state. In particular will the result file list be cleared.