fieldname=regexp_replace(fieldname,old_sub_string,new_sub_string)
The flags parameter is an optional text string containing zero or more single-letter flags that change the function’s behavior. Flag i specifies case-insensitive matching, while flag g specifies replacement of each matching substring rather than only the first one.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных