I want to validate the entry allowing only CSS code ... if javascript, iframe and other intances of such are found it should throw an exception.

Meaning they should be able to enter only .Func{param: blah;} and comments /*comment*/

Thank you so much