REGEX_REPLACE

Replaces every occurrence of a regex match in text with the second argument.

Syntax 

REGEX_REPLACE(text, regex, replacement)

Examples 

Example 1

Input

{
  "my_action": {
    "message": "hello hello!"
  }
}

Formula

REGEX_REPLACE(my_action.message, "hw+", "goodbye")

Output

"goodbye goodbye!"
Was this helpful?