in reply to extract_tagged

The easiest and most robust way is to use a piece of code tested and used by many many others first. HTML::LinkExtor does what you are trying to do. and is pretty easy to install.


Dave