> ## Documentation Index
> Fetch the complete documentation index at: https://www.integrate.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ETL: REGEX_EXTRACT_ALL

> Return all capture groups matched by a regular expression pattern as a tuple. Use REGEX_EXTRACT_ALL for multi-group regex parsing in ETL pipelines.

## Description

Returns a tuple with all matched groups. If there are no matches, an empty tuple is returned.

## Syntax

`REGEX_EXTRACT_ALL(string_expression, regex)`

## Arguments

*string\_expression* - string expression

*regex* - string expression indicating a regular expression

## Examples

`REGEX_EXTRACT_ALL('213.131.343.135:5020', '(.*)\\:(.*)')` returns a tuple ('213.131.343.135','5020')

## Notes

* The regex string must be enclosed by single quotes.
* Make sure to escape a single-quotes (i.e. \\' )
* Make sure to escape back-slashes that are part of a regular expression escape sequence (e.g. instead of \s as shorthand for whitespace, use \\\s )

## Return value datatype

Tuple

## Impact of null value

If input is null, returns null.
