Pour remplacer une chaîne fixe, utilisez le simple replace()
fonction.
Pour remplacer une chaîne dynamique, vous pouvez utiliser regexp_replace()
comme ceci :
UPDATE
YourTable
SET
TheColumn = regexp_replace(
TheColumn, 'http://[^:\s]+:9999(\S+)', 'http://example2.com\1', 'g'
)