$cusswords[]=array('all','your','unwanted','words');
$cuss=implode('|',$cusswords);
What happens next depends on what you want to do with offending text. If you just want to see if they're in there:
if(preg_match("/$cuss/i,$textfield))
or if you want to comic-book them:
preg_replace("/$cuss/@#!%#*/i,$textfield);
Of course, judgement needs to be used when processing arbitrary English. In this case, rating "tit" as a cussword would lead to things like "@#%#*ular". On the other hand, you don't want to check for word boundaries on either side either, because then you'd have to put all the various extensions and grammatical inflections in by hand.