Online strip_tags() function

string strip_tags ( string $str [, string $allowable_tags] )

This tool return a string with all HTML and PHP tags stripped from a given text. It also strips out all HTML comments. You can also specify tags that should be allowed, for example <div><b><p>.



(optional)