I agree , strip_tags is the way to go , and you use this by specifying the tags you want to allow
for example ..
if $post was the varible that contained the actual user post .. you would setup something like this.
$clean_post = strip_tags($post, '<b><center><img><u>'),
That would strip all HTML out of your post except bold , center , img tags , and underline.
$clean_post would be $post , but cleaned , if you will.