strip_tags($your_string) - This PHP function strips HTML and PHP tags from an input string.
PHP Cookbook: Solutions & Examples