$urls= preg_match_all("~<a href='([^"]+)'>.+?<\/a>~", $icerik, $sonuc);

print_r($sonuc[1]);