I want to remove all the html tags except or tags from a string using javascript. I have seen many questions like this but t
To expand h2ooooooo Answer to include leading spaces and be case insenctive you could use
/<(?!\s*br\s*\/?)[^>]+>/gi