Skip to main content

Overview

The extract transformation extracts data from a string using a pattern or regular expression.

Syntax

extract(<variable>, pattern="")

Parameters

ParameterTypeRequiredDescription
variablestringYesThe string to extract from
patternstringYesThe extraction pattern or regex

Examples

extract(<variable>, pattern="\\d+")
extract(<variable>, pattern="[A-Z]+")