Kod
..............<SPAN CLASS=Czyt>
<H2><FONT COLOR="FF0000">PIERWSZE CZYTANIE</FONT> Z DRUGIEJ KSIĘGI SAMUELA:<BR>
2 Sm 7, 1-5. 8b-12. 14a. 16 <FONT COLOR="#FF0000">Królestwo Dawida będzie trwało wiecznie.</FONT></H2>
<DIR><P>Gdy......
<H2><FONT COLOR="FF0000">PIERWSZE CZYTANIE</FONT> Z DRUGIEJ KSIĘGI SAMUELA:<BR>
2 Sm 7, 1-5. 8b-12. 14a. 16 <FONT COLOR="#FF0000">Królestwo Dawida będzie trwało wiecznie.</FONT></H2>
<DIR><P>Gdy......
itd.....
Chcę wyciągnąć z tej strony ten fragment. Pobrałem zawartość funkcją file_get_contents. Jeśli napiszę
Kod
$pattern = "|<H2><FONT COLOR=\"FF0000\">.*</FONT>.*<BR>|";
preg_match_all($pattern,$site,$return);
to pobiera dobrze do znacznika br, natomiast nie działa, gdy chcę pobrać aż do otwarcia znacznika font color="#FF0000"....preg_match_all($pattern,$site,$return);
Kod
$pattern = "|<BR>.*<FONT>|";
Nie mam pojęcia co tu może nie działać...