You might also want to look at HTML::LinkExtor, which I don't think existed when merlyn wrote that column, but which is designed specifically around this kind of problem.
Update: merlyn is, of course, right--LinkExtor won't give you the context for reinserting the tags (bad ChemBoy! No coffee!). However, the reason I pointed it out is that HTML::Filter is deprecated--if you're going to write your own, similar program, HTML::TokeParser or HTML::PullParser is a more appropriate solution.
In reply to Re: Re: Image Size in an HTML file
by ChemBoy
in thread Image Size in an HTML file
by Stamp_Guy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |