Così?

Codice PHP:
preg_match_all('/<a[^>]+href="(.+)">/U'$html$matches);
var_dump($matches);