Find and Replace Text
This task will run a find and replace on the contents of a text file.
Settings
Input File
Required
The file to find and replace text in.
Output File
Dependant
The file to output the result to (when not overwriting the input file).
Overwrite Input File
Required
Set to true to overwrite the contents of the input file with the result of the find and replace, or false to write the result to the file specified in the 'Output File' property.
Find
Required
The string or list of strings to look for in the input file, or a regular expression to match on.
Note
The task doesn't support finding new line characters, both as part of a string or regular expression.
Replace
Required
The string to replace all matches with.