Purpose:
Replaces the substrings of the first argument with a new value if they match the regular expression.
Parameter(s):
String String to check
String Regular expression
String (optional) Replacement expression (can contain "\0" for the entire match or "\1"… "\9" for the respective group.
Boolean (optional) Specifies whether only the first occurrence is to be replaced. Default: False.
Return value:
String
Examples:
ReplaceRegEx$("1234xyz6789","[0-9]+", "a") Result: "axyza"
ReplaceRegEx$("1234xyz6789","[0-9]+", "a") Result: "axyz6789"