regexp_extract_all(string, pattern)
查询
presto:default> SELECT regexp_extract_all('1a 2b 3c 6f', '\d+') as regularexp;
regularexp -------------- [1, 2, 3, 6]
此处,查询返回与仅以数字指定的模式的正则表达式匹配的字符串。
apache_presto_sql_functions.html
presto:default> SELECT regexp_extract_all('1a 2b 3c 6f', '\d+') as regularexp;
regularexp -------------- [1, 2, 3, 6]
此处,查询返回与仅以数字指定的模式的正则表达式匹配的字符串。
apache_presto_sql_functions.html
