string strip_tags ( string html_text [, string allowed_tags] ) strips HTML and PHP tags from a string
<? $input = "<blink><strong>Hello!</strong></blink>"; $a = strip_tags($input); $b = strip_tags($input, "<strong><em>"); ?>