regexp_replace ( string text, pattern text, replacement text [, flags text ] ) → textReplaces the substring that is the first match to the POSIX regular expression
pattern, or all such matches if the g flag is used; see Section 9.7.3.regexp_replace('Thomas', '.[mN]a.', 'M') → ThM