For something like this I would use XML::TreeBuilder. Use look_down to find the elements containing the stuff you want to pull out. For each element found itterate over the sub-elements to identify the image then pull out the image and the next sub-element which is the text.
In reply to Re: Pulling all instances of a regex out
by GrandFather
in thread Pulling all instances of a regex out
by coldfingertips
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |