## Syntax

`REGEX_REPLACE(text, regex, replacement)`

## Usage examples

|     |     |
| --- | --- |
| Input | 1<br>{<br>2<br>"my_action":{<br>3<br>"message":"hellohello!"<br>4<br>}<br>5<br>}<br>Copy |
| Formula | `REGEX_REPLACE(my_action.message, "h\w+", "goodbye")` |
| Output | "goodbyegoodbye!"<br>Copy |

## Sample Actions

Event Transform

My Action

Event Transform

REGEX_REPLACE

### Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Copy Actions
