re_subs_all

Replaces all occurrences of patterns matching a Java-style regular expression in a string with the specified replacement string.

Parameter 1 - the string to search and replace in.

Parameter 2 - a string containing the regular expression to search for.

Parameter 3 - the replacement string, for each match found for the regular expression.

Returns: the resulting string with all matches for the regular expression replaced with the replacement string.