---
title: "REGEX_REPLACE()"
slug: "regex-replace"
updated: 2025-11-14T19:20:48Z
published: 2025-11-19T15:54:21Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.tulip.co/llms.txt
> Use this file to discover all available pages before exploring further.

# REGEX_REPLACE()

## Description

Replaces content in text using a regular expression

## Available In

- **Apps**
- **Automations**

## Syntax

REGEX_REPLACE(source: text, pattern: regex, replacement: text, modifiers: modifiers) => text

## Example

REGEX_REPLACE("BaNaNa", "N", "n", "g") = "Banana" regex_replace("Hello There", "(\\w+)\\s(\\w+)", "$2 $1") = "There Hello"
