Error!
Success!

A Simple .NET Profanity Filter

0
kicks

A Simple .NET Profanity Filter  (Unpublished)

A website I am working on right now accepts public comments, and one of the requirements is to do a basic check for dirty language. Surprisingly for such a common problem I wasn’t able to find any code on the net that did what I wanted and so I’ve ended up writing my own. The Censor class is pretty simple: you give it a list of words you want to censor, either simple text or with wildcards, and the censor will star out any matches it finds.


Kicked By:
Drop Kicked By: