Open sinmetal opened 2 years ago
hoge,fuga を [FILTERD] に置換する
hoge,fuga
[FILTERD]
WITH Sample AS ( SELECT "hello:[hoge,fuga],world:[moge]" AS message) SELECT REGEXP_REPLACE(message, r"hello:\[.*?\]", "hello:[[FILTERD]]") FROM Sample
hoge,fuga
を[FILTERD]
に置換する