http://www.perlmonks.org?node_id=109702


in reply to Re: Regular Expression Help
in thread Regular Expression Help

In my own experience, something like s/<\/?\w+(.*?(\".*?\")?(\'.*?\')?)*?>//g is usually nicer for stripping tags, because often >s have a habit of slipping into automatically generated hrefs. And occasionally javascript event properties.

I'm not definate if the above works perfectly, cause I just hacked it up in a couple of minutes, but it should be ok.