stripping html tags but preserving paragraph and newline


I am trying to prevent users using html tags in post

I have tried filtering html using


which removes the html but also paragraphs and new lines

but I would like to keep the paragraph formatting?

Is there any way of doing this?