Olaf is probably right.
If you want to do it your way, you'll need to know quite a bit about the MySQL functions. Probably you'd want [man]str_replace[/man] for removing "certain words".
Unless, of course, you don't care at all about any field with a "certain word" in which case "DELETE from sometable where SOMEFIELD regexp 'certain word'" might suitably destroy things.... 😃