Plugin: Regex Replace
This plugin is used for replacing strings in source and translation with regular expressions. Multiple Regex plugins can be used in a single Pipeline.
Class: LTGear.Flowme.Plugin.Regex.Replace
Pipeline Format: XLIFF (MT)
Parameters:
RegexExpression: The regular expression pattern to match. This parameter is required.
Replacement: The replacement string. This parameter is required.
ApplyToSource: Apply Regex to source? Default value: No
ApplyToTarget: Apply Regex to target? Default value: Yes
Default Regex Options:
The pattern is interpreted as a canonical rather than an ECMAScript regular expression.
The regular expression pattern is matched in the input string from left to right.
Comparisons are case-sensitive.
The ^ and $ language elements match the beginning and end of the input string.
The . language element matches every character except \n.
Any white space in a regular expression pattern is interpreted as a literal space character.
The conventions of the current culture are used when comparing the pattern to the input string.
Capturing groups in the regular expression pattern are implicit as well as explicit.
Reference: https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expressions