RegexReplace Build/Release Task
A task for replacing REGULAR EXPRESSIONS in your files with variables and text in build and release pipelines.
1. Add the RegEx Find & Replace task to your build or release pipeline.
2. Configure the parameters
- Search Paths to Input Files:
- The search patterns to the files that should used in Find & Replace
- New in v3: Supports multiple input lines and minimatching
- Find RegEx:
The Regular Expression to FIND text
RegEx Groups (brackets) are used for the replace option
E.g. find all XML/HTML comments
<!-- (.*) -->
- Replace With:
The text to replace with
$1 is the first group, $2 the second, ...
E.g. replace them with what was within the comment (comment it IN)
Now published under MIT License.