How do I update an email containing a double dot in its domain using raw mysql query?
So I have these emails having this format [email protected]
and turn it to this [email protected]
replace
should do the trick:
UPDATE mytable
SET email = REPLACE(email, '..', '.')
WHERE email LIKE '%..%'