I was wondering, I'm pretty new to REGEXP and wanted to know how I could quickly search through a page and snag links written in this format:
<a href='http://www.phpbuilder.com'>phpbuilder.com</a>
<a href='http://www.php.net'>php.net</a>
How could I open a file and parse it for these values and separate certain elements.
Take the above for example. Would like to write a function that would take those links and create a list like this:
phpbuilder.com
http://www.phpbuilder.com
php.net
http://www.php.net
Ideally I'd like to create a loop that puts each link into a database entry.
Any help would be great! Thank you!