You can try with a simple RegExp like
my ($foo) = $html =~ /id="foo">([^<]+)</gm; print "$foo\n"; [download]
In reply to Re: Screen scraping by Anonymous Monk in thread Screen scraping by stumped