text
regexp_matches
Set-returning function: yields one array per match with g, otherwise at most one; no match yields no rows.
Formal Syntax & Structure
sql syntaxsql
regexp_matches(string, pattern [, flags])Working Example
Example Snippetsql
SELECT regexp_matches('x12 y34', '[0-9]+', 'g');