Skip to main content
Windward

REGEXREPLACE Function

Overviewautotag-wiki-logo.png

The REGEXREPLACE function

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

For example

=RegexReplace("Google Doc 101","[0-9]+","777") returns "Google Doc 777"

Syntax

=RegexReplace(text, regular_expression, replacement)
  • ​text - Required. The text to be tested against the regular expression
  • regular_expression - Required. The regular expression to test the text against. 
  • replacement - Requested - The text which will be inserted into the original text.
  • Was this article helpful?