substring('foobar' from 'o(.)b') o regexp_replace函数提供了将匹配 POSIX 正则表达式模式的子串替换为新文本的功能。 语法格式:regexp_replace(source, pattern, replacement [, flags ]) 如果没有匹配pattern,那么返回不加修改的source串; replacement串