Textmedium
REGEXREPLACE()
Replaces every match of a regular expression with the replacement text.
Syntax
fx
=REGEXREPLACE(text, regular_expression, replacement)
Arguments
Example
fx
=REGEXREPLACE("abc123", "\d+", "X")
Paste this into Google Sheets to run it. The live playground on this site covers 24 of the 61 functions, and REGEXREPLACE isn't one of them yet.
Related formulas
Used by