Possible Duplicate:
“bad words” filter
In my web application i have a section which gets input from the user and posting it on the main page.
i would like to prevent post in dirty language.
Is there any research about it or a library in php that detects most of the curses and dirty expressions in English.
shortly speaking i would like to test the input in that manner;
if the input in the set of the unwanted patterns
dob't publish it
else
publish it on the main wall