Regexreplace

Scripting Formulas

REGEXREPLACE

REGEXREPLACE(text, regex, replacement)

Replaces all matches of the regex expression in the text with the replacement.