even if a check for profanity might seem simple whilst comparing entered text with a list of "profanity" you won't be able to maintain the list to catch up all profanity and some does occure only in relation (e.g. "bloody" might be profanity or not). And what about "4ss"? You won't catch that. So better don't feel offended.