wp search-replace – WP-CLI Command | Developer.WordPress.org
Searches/replaces strings in the database.