For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
index

REGEXP_REPLACE() Function

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Replaces substrings in a string based on a regular expression pattern

Syntax​

REGEXP_REPLACE(source_string, pattern, replacement [, position [, occurrence [, match_type]]])

Parameters​

ParameterDescriptionData TypeRequired
stringString valueStringYes
patternThe pattern argumentStringYes
replacementReplacement stringStringNo

Example​

SELECT
REGEXP_REPLACE(full_name, ' ', '_')
FROM
rippling.employee.Employee
LIMIT
5;