regexp_split_to_array ( string text, pattern text [, flags text ] ) → text[]Splits
string using a POSIX regular expression as the delimiter, producing an array of results; see Section 9.7.3.regexp_split_to_array('hello world', '\s+') → {hello,world}