The 'Replace match' replaces the matched part of a string to the replacement, and returns the new total as result.
Uses System.RegularExpressions.TRegEx.Replace
Activity properties
begin var Replacement: string; var Variable: string; Variable := TRegex.Replace(StringValue, RegexPattern, Replacement, []); end; |
Resulting Code