Text & patterns
Scalar
regexp_extract_all()
Finds non-overlapping occurrences of the regex in the string and returns the corresponding values of the capturing group. A set of optional regex options can be set.
Arguments & returns
5 overloadsregexp_extract_all(string, regex)
Scalar
| Overload link | string | regex |
Returns |
|---|---|---|---|
| #01 | VARCHAR | VARCHAR |
VARCHAR[] |
regexp_extract_all(string, regex, group)
Scalar
regexp_extract_all(string, regex, group, options)
Scalar
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.
In other engines
Snowflakeregexp_substr_all()
REGEXP_SUBSTR_ALL(subject, pattern)
REGEXP_EXTRACT_ALL(subject, pattern)