Don't.
Because:
- Clbuttic
- Profanity is not OMG EVIL
- Profanity cannot be effectively defined
- Most people quite probably don't appreciate being "protected" from profanity
Edit: While I agree with the commenter who said "censorship is wrong", that is not the nature of this answer.