posiadam następujący fragment html'a:
Kod
<section class="item image shadow-max overflow adds-on-image" style="max-width: 500px; max-height: 332px; height: 332px;">
<a href="/123456/tytul.html" title="Tytuł">
<img alt="Tytuł" src="/images/items/fcfb996a0446679bxb5f128269542b55.jpg" title="Tytuł">
</a>
</section>
<a href="/123456/tytul.html" title="Tytuł">
<img alt="Tytuł" src="/images/items/fcfb996a0446679bxb5f128269542b55.jpg" title="Tytuł">
</a>
</section>
A mój kod PHP wygląda tak:
<a href="(.*)" title="(.*)"> <img alt="(.*)" src="(.*)" title="(.*)"\/> <\/a>/', $content, $res);
Niestety po uruchomieniu tablica $res jest pusta i kompletnie nie wiem gdzie leży problem.