File content replacer Content Replacer provides a template for every attribute to be replaced. Clicking the Load Template... button displays the combobox with templates containing value presets for replacement. The templates can be filtered by language (e.g.
Click Edit file list and specify paths to files where the values to be replaced will be searched. Provide a newline- or comma-separated set of rules in the form of +|-:[path relative to the checkout directory] .
By default, TeamCity will auto-detect the file encoding. To specify the encoding explicitly, select it from the drop-down. When specifying a custom encoding, make sure it is present on the server and the agentssure it is supported by the agent.
Specify a value to be replaced. Regular expressions are accepted in your search criteria. The (?m) multiline flag pattern to search for, in the regular expression format. MULTILINE mode is on by default.
By default, the comparison is case-sensitive. Uncheck for case-insensitive languages.
Type the values text to be used to replace for replacing the characters in the Find what box. To delete the characters in the Find what box from your file, leave this box blank.
$N sequence references N-th capturing group. All backslashes (\) and dollar signs ($) without a special meaning should be quoted (as \\ and \$, respectively).