Hello everyone!!!
This should be an easy one for most of you out there...
I would like to search a webpage and show the full URLs corresponding to the links. In other words, if I have a link called "PHP Builder" which points to http://www.phpbuilder.com, I want to revise the page to display not just "PHP Builder" but also the URL as well. So, it may look something like "PHP Builder (http://www.phpbuilder.com)" - without the quotes.
I would like to do this for both absolute and relative URLs. I know ereg_replace() should be used but my main issue is creating the pattern to match.
Any ideas?