PostgreSQL · Function
regexp_replace
PostgreSQL's regexp_replace replaces text that matches a POSIX regular expression. It can change the first match, one selected match, or all matches.
Last updated
Syntax
regexp_replace(string, pattern, replacement [, flags])
regexp_replace(string, pattern, replacement, start [, N [, flags]])In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
regexp_matchregexp_matchesregexp_substrregexp_split_to_arrayregexp_split_to_tablereplace