preg_match("#<a href='(.*?)'>(.*?)</a>#i",$dosya,$yaz);
echo $yaz[1];
Görüntü : sozler/nazan-oncel/a-bu-hayat.html
------------------