Click here to Skip to main content
15,897,704 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hello Everyone,

A website I am working on (Asp.net with c#) 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.

If anyone has code for this or do you have any reference site for this? If any free API availabel please let me know.

Thanks in advance

Praveen Kumar. R
Posted
Updated 15-Sep-10 21:37pm
v2
Comments
m@dhu 16-Sep-10 2:33am    
dirty language?? what do you mean by that.
you can have editors to check spelling of entered text..
Dalek Dave 16-Sep-10 3:37am    
Edit for Grammar and Readability.

But a good Question!

Create an utility which trims those words in your list, and returns back the result.

This should be done for all inputs

Something like this might help you :

http://forums.asp.net/t/1131092.aspx[^]

:rose:
 
Share this answer
 
Comments
Dalek Dave 16-Sep-10 3:38am    
Good Call.
I have to check some unwanted words that's what i mean dirty language. you have any idea about to filter the words?
 
Share this answer
 
Comments
aayu 16-Sep-10 2:50am    
as in what type of unwanted word can you explain????
praveenkumar_mca 16-Sep-10 2:53am    
I want to filter dirty words..
How can we get the list of words?? there are any free API for this??
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900