Trino Supported Functions
Regexp Functions
regexp_count
Returns the number of occurrence of pattern in string.
Supported Signatures
regexp_extract
Returns the first substring matched in a string by the regular expression pattern.
Examples:
examples.sql
Supported Signatures
regexp_extract_all
Returns the substrings of a string matched by the regular expression pattern.
Supported Signatures
regexp_like
Evaluates the regular expression pattern and determines if it is contained within string.
Examples:
examples.sql
Supported Signatures
regexp_position
Returns the index of the first occurrence (counting from 1) of pattern in string. Returns -1 if not found.
Supported Signatures
regexp_split
Splits string using the regular expression pattern and returns an array. Trailing empty strings are preserved.
Supported Signatures