Problem is it's not always going to be http://ipaddress in front - IE it's not always a link :-)
Sometimes it will be surrounded by formatting tags, other times by link tags.. basically looking through an HTML file for any IP address. Can do that no problem using hints from node mentioned above, but that returns the whole line - now need to strip anything but the IP :-)
Sorry if I wasn't clearer to start out with, starting to play with HTML::Parser now..