<?php
$string = 'Dit is een link: <a href="bla.html">Tralalala</a>, en nog eentje: <a href="bla.html">Tralalala</a>';
$regexp = "<a\s[^>]*href=(\"??)([^\" >]*?)\\1[^>]*>(.*)<\/a>";
preg_match_all("/$regexp/siU", $string, $matches);
// $matches[2] = array of link addresses
// $matches[3] = array of link text - including HTML code
echo "test";
print_r($matches);
?>