I've never used HTML::Parser before, and I'm a little confused on how one would use it. I've seen countless examples of removing HTML tags, which I to some extent understood, but I didn't find what I was looking for.
If I have the source of an HTML file in $pagesource (which I got with LWP), how can I run a series of regex's (especially substitute) on the visible text of the page, and then put the modified source (including the old tags) into $newsource?
Thanks in advance!