Apache-presto-regep-extract-function
提供:Dev Guides
regexp_extract(string、pattern、group)
問い合わせ
presto:default> SELECT regexp_extract('1a 2b 3c 6f', '(\d+)', 1) as regexp;
結果
regexp
--------
1
クエリは、1つのグループを持つ式と一致する最初の数字を返します。
presto:default> SELECT regexp_extract('1a 2b 3c 6f', '(\d+)', 1) as regexp;
regexp
--------
1
クエリは、1つのグループを持つ式と一致する最初の数字を返します。