It seems way too obvious, but would HTML::Strip be what you are looking for?
In reply to Re: Stripping HTML tags by thundergnat in thread Stripping HTML tags by Anonymous Monk