regexp_extract(string, pattern, group)
查询
presto:default> SELECT regexp_extract('1a 2b 3c 6f', '(\d+)', 1) as regexp;
regexp -------- 1
查询返回与一组表达式匹配的第一个数字
apache_presto_sql_functions.html
presto:default> SELECT regexp_extract('1a 2b 3c 6f', '(\d+)', 1) as regexp;
regexp -------- 1
查询返回与一组表达式匹配的第一个数字
apache_presto_sql_functions.html
