UPDATE your_table SET your_column = REGEXP_REPLACE(your_column, '\/path\/to\/resource', '/new/path', 'g') WHERE your_column ~ '\/path\/to\/resource';
See more from
renews
UPDATE your_table SET your_column = REGEXP_REPLACE(your_column, '\/path\/to\/resource', '/new/path', 'g') WHERE your_column ~ '\/path\/to\/resource';