The Search and Replace task can search one or more files for a string value (pattern) and replace that pattern with characters specified in the
Replace With
attribute. By providing a File Set element, multiple files can be processed in the same task. A single file can also be added by simply utilizing the
Input File
attribute.
By default, the
Case Sensitive Search
attribute on the Advanced tab is set to true. Setting it to false will ignore the case when applying the search pattern.
The Search and Replace Task contains the Number of Replacements and Number of Files Processed output variables. Those variables can be used to conditionally execute subsequent Tasks.