I had a plugin that made my Wordpress site vulnerable to SQL injection attack. I\'ve since locked down my site and removed all Wordpress files then reinstalled Wordpress. Th
You can try using function replace this has most confiable:
replace
UPDATE wp_posts SET post_content = replace(post_content, ' ', '');