I am trying to edit a webpage we have in C#, which receives data from a form.
I want to be able to see if the text contains certain words. We are using it to block people from sending explicit emails on our website contact form.
I currently have this and that is it, i dont know what to put after it that searches for words. Lets just say those words i want to search for are Dog, Cat & Rabbit (if i used the actual words most peoples proxy servers would block this topic).
if (Request.Form["comment"] ----- and then i want it to say look for Dog, Cat & Rabbit. If true, then do something.