Last active
September 11, 2019 12:36
-
-
Save rslonik/8167b6e52e73b519e4001590a09d6738 to your computer and use it in GitHub Desktop.
Search and replace bad domains in email list sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update wp_mailster_subscribers set email = replace(email, '.comm', '.com'); | |
update wp_mailster_subscribers set email = replace(email, '.combr', '.com.br'); | |
update wp_mailster_subscribers set email = replace(email, 'gmail.com.br', 'gmail.com'); | |
update wp_mailster_subscribers set email = replace(email, 'gamil.com', 'gmail.com'); | |
update wp_mailster_subscribers set email = replace(email, 'hotmal.com', 'hotmail.com'); | |
update wp_mailster_subscribers set email = replace(email, 'homail.com', 'hotmail.com'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment