I'm currently using the following regular expression to strip any HTML formatting from a string.

text = text.replace(/<[^>]*>/gi,'');

Now I want to adapt this to stop it from removing <br> and <p>, </p> tags.

Any one got any ideas? - I'm rubbish at RegExp.

DJ