Skip to content

Splits a string by a regular expression pattern and returns an array of substrings.

func.regexp_split('one1two2three', '[0-9]')
func.regexp_split('one1two2three', '[0-9]')
┌───────────────────────┐
["one","two","three"]
└───────────────────────┘
REGEXP_SPLIT(<str>, <pattern>)
SELECT REGEXP_SPLIT('one1two2three', '[0-9]');
┌───────────────────────┐
│ ["one","two","three"] │
└───────────────────────┘