Mam taki tekst:
<TABLE cellSpacing=3 cellPadding=5 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="50%"><EM><STRONG>Tekst</STRONG></EM>Tekst<BR>
<EM>Tekst</EM> Tekst<br>
<EM>Tekst</EM> Tekst<br>
<EM>Tekst</EM> Tekst
</TD>
<TD vAlign=top width="50%"><EM><STRONG>Tekst</STRONG></EM> Tekst<BR>
<EM>Tekst</EM> Tekst<br>
<A href="link"><EM>Tekst</EM> Tekst</A><br>
<EM>Tekst</EM> Tekst<br>
<EM>Tekst</EM> Tekst<br>
<EM>Tekst</EM> Tekst<br>
</TD></TR>
</TBODY></TABLE>
I nie rozumiem dlaczego:
preg_match_all('/TD(.*)TD/', $table, $matches);
Nie zwraca żadnego dopasowania, natomiast:
preg_match_all('/TD/', $table, $matches);
owszem. Proszę o przetestowanie tej zagadki, może ktoś mnie naprowadzi na rozwiązanie ;)