Code Snippet For PHP, JS, jQuery, Sql, etc
UPDATE table_name SET field = replace(field, 'string-to-find', 'string-that-will-replace-it');
SELECT field_name, COUNT(*) c FROM table_name GROUP BY field_name HAVING c > 1