in reply to HTML::Strip question--stripping only certain tags?
If you only want to remove certain parts you could take a to look at HTML::TreeBuilder and friends and use it to selectively pull out the elements you want from what's there. Alternately if your HTML is well formed enough you could use XML::Twig to do something similar.
Another source of inspiration might be to get the slashcode source and look at its comment filtering (seeing as that's what this sounds like you're trying to do).
|
|---|