Hi!! This regex may help you:
ereg("<a.* href=\"(.+)\">(.+)</a>", $url, $data);
in $data[1] you'll have the URL in 'href' and in $data[2] you'll have the link text, but I don't know if it'll work if you have TWO or more <A> tags in the same line.
HTH
inK