![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 92 Pomógł: 0 Dołączył: 19.10.2016 Ostrzeżenie: (0%) ![]() ![]() |
MAm taki oto zapis z html:
Jak do tej pory mam taki zapis: <div class="addthis_sharing_toolbox"><\/div>([ \s?]+)<\/div>([^<]+)<\/div> To mi ladnie wyciaga tekst, ale bez <p>, bo jesli znajdzie sie tam pomiedzy <p> lub <br/> to juz jest problem i mi nie wyciaga textu. Jak mozna ulepszyc moj zapis regex? O ile da sie cos takiego w ogole wyciaganc... |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 8 068 Pomógł: 1414 Dołączył: 26.10.2005 Ostrzeżenie: (0%) ![]() ![]() |
var_dump($html->find('.latestItemIntroText'));
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 23.09.2025 - 19:41 |