in reply to searching for one or more instances of text between tags
In the fairly likely case that your HTML is not valid XML, use HTML::Parser.
Jenda Enoch was right! Enjoy the last years of Rome.