Ben bir HTML sayfası içinde bu bağlantı var.
<img id="catImage" width="250" alt="" src="http://dev-server2/image2.png" />
I src
değerini almak istiyorum ve preg_match
ve bu regex şeyler her birlikte almıyorum. Bu bir sağ mı?
preg_match(
"/<img id=\"catImage\" width=\"[0-9]+\" alt=\"\" src=\"([[a-zA-Z0-9]\/-._]*)\"/",
$artist_page["content"], $matches);
Ben boş bir dizi olsun!