I'm not familiar with how php handles strings, but does it accept the space character as a legitamite string character? You could make " the " what's replaced. Just make sure to throw spaces into the replacement word.
Actually, it seems like you're not replacing, but removing. So just wrap the words to be stripped in spaces and that might work.
__________________
it's quiet in here
|