regular expression help
I want to clean a database of words that have bad letters in them. I know how to remove bad characters, but how can I remove the word along with it?
"The qu&&ick brown fox ju&&&mped over the lazy dog."
assuming & is a bad character, how can I end up with
"The brown fox over the lazy dog."
Basically, anything word that doesn't have an alpha-numeric or [.,<>?~@#$%^&*()] I want to remove the word.
Single preg_replace expression??
|