Witam stoje przed zadaniem wyciagniecia danych z takiej oto struktury na stronie www z wynikami zawodów:
<table class="xtable small" cellspacing="0" style="width: 100%; "><thead><tr> <th style="width: 12%; ">Date
</th> <th style="width: 7%; ">Result
</th> <th style="width: 2%; "> </th> <th style="width: 55%; ">Race
</th> <th style="width: 6%; ">Class
</th> <th style="width: 7%; ">Distance
</th> <th style="width: 5%; ">Points PCS
</th> <th style="width: 5%; ">Points UCI
</th> <td><img src="site-icons/classification-general.png" style="height: 12px; margin-bottom: -2px; " /></td> <td><span class="flags_ch"></span> <a class="BlackToRed" href="race/Tour_de_Suisse_2015">Tour de Suisse
<span class="blue" style="font-size: 11px; "> - General Classification
</span></a></td> <td><img src="site-icons/classification-general.png" style="height: 12px; margin-bottom: -2px; " /></td> <td><span class="flags_es"></span> <a class="BlackToRed" href="race/Vuelta_Ciclista_al_Pais_Vasco_2015">Vuelta Ciclista al Pais Vasco
<span class="blue" style="font-size: 11px; "> - General Classification
</span></a></td> <td><img src="site-icons/classification-general.png" style="height: 12px; margin-bottom: -2px; " /></td> <td><span class="flags_fr"></span> <a class="BlackToRed" href="race/Paris_nice_2015">Paris - Nice
<span class="blue" style="font-size: 11px; "> - General Classification
</span></a></td>
Z tej tabeli potrzebuje wyłuskać tak naprawde tylko pierwsze dwa <td> w każdym z <tr> oraz 4 <td>. problem w tym że te poszczególne komórki nei mają żadnych klas aby łatwo można było to ogarnąć za pomocą preg_match_all i stąd moja prośba czy ktoś ma jakis pomysł jak to ogarnąć?