Replace All
Replaces all occurrences of a given string which matches the pattern of the regular expression with another string. This function is just a wrapper of the java.lang.String.replaceAll() function. For detailed syntax, refer to the standard java.lang.String documentation.
If the Substitution argument is used, the replaced string is assigned to the substitution before it is returned.
Arguments
String: String to be replaced.
Regular Expression: Regular expression which defines the pattern of the string to be replaced.
Replacement: String to be used as the replacement for the found pattern.
Substitution: Optional. Name of the substitution (for example,
$symbol) which is used for the assignment of the replaced string.
This function returns a string.