[Files] Find and Replace
Q100045: [Files] Find and Replace
Finds and replaces text or pattern in one or more files.
| Parameter | In/Out | Description | Other Info |
|---|---|---|---|
| Active Directory Connection | In | Active Directory name and login credentials for account with permissions to perform the requested operation. Optional. | Connection type: sysAD |
| File source | In | A single filename, or list of files to process using fully qualified pathnames. Typically this list of files might come from a FileList output variable from a previous module. |
|
| Find | In | The text to find in the input file(s). | |
| Use Regular Expression | In | Set to True if the Find text is a regular expression. | Default: False |
| Ignore case | In | Set to True when the case of the text should be ignored and should match both lower-case and upper-case text. | Default: True |
| Replace | In | The replacement text to insert at each place the find text is located. | |
| Output Folder | In | The local or network folder to write the replaced file(s) to. If not specified, the find/replaced files will be overwritten. | |
| Log output level | In | Choices: Minimal, VerboseThe level of execution detail you want to appear in the log. |
Default: Minimal |
| File list | Out | The list of processed pathnames (files). |
(Italics = required parameters)
Notes
The [Files] Find and Replace module allows bulk oriented copy and replace on one or more specified files. By default, the Find parameter will search for the literal text specified by this value. If the Use Regular Expression parameter is set to true, then instead of the Find parameter being literal text, it should be a regular expression that should be searched for. The Replace parameter should be the literal text that you want to replace each found occurrence with. If this is an empty value all occurrences of the found text will be deleted.
Last Updated:
1/28/2026 4:28:06 PM