Email Filter Question

Email Filter Question

I need to be able to create an email filter which triggers an action based on a specified text string being present in the email body.  Can this be done

I need this because I am getting many tens of spam emails from my website ContactUs page and I need to delete then automatically.