REGEXREPLACE

Replaces part of a text string with a different text string using regular expressions.

Parameter List

Syntax
REGEXREPLACE(textregexreplacement)
text

The text or cell reference containing the string where the pattern will be searched.

Examples

REGEXREPLACE("Hello, World!", World, Replacement) returns "Hello, Replacement!"