Regex functions
Translation specification for the regular expresions from Teradata to their Snowflake equivalents
Description
REGEXP_SUBSTR(source. regexp [, position, occurrence, match])
REGEXP_REPLACE(source. regexp [, replace_string, position, occurrence, match])
REGEXP_INSTR(source. regexp [, position, occurrence, return_option, match])
REGEXP_SIMILAR(source. regexp [, match])
REGEXP_SPLIT_TO_TABLE(inKey. source. regexp, match)Sample Source Patterns
Setup data
Teradata
CREATE TABLE regexpTable
(
col1 CHAR(35)
);
INSERT INTO regexpTable VALUES('hola');Snowflake
Regex transformation example
Teradata
Snowflake
Known Issues
Related EWIs
Last updated
Was this helpful?