<? $input = "<blink><strong>Hello!</strong></blink>"; $a = strip_tags($input); $b = strip_tags($input, "<strong><em>"); ?>