|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
<clip>
preg_match_all('|<p[^>]*>(.*)</p>|Ui', $myText, $myArray); </clip> Hey! Thanks for replying. Your preg_match_all works like a charm, but for some reason catches only 8 out of 9 paragraphs... its really weird. I have upped the test page to http://www.ezee.se/tests/para_regex2.php.txt so you can have a look at it... didnt want to post such a lot of text to the list. Thanks again, R __________________________________________________ __________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i...Dypao8Wcj9tAcJ |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Ryan S wrote:
> <clip> > > > preg_match_all('|<p[^>]*>(.*)</p>|Ui', $myText, $myArray); > </clip> > > Hey! > > Thanks for replying. > > Your preg_match_all works like a charm, but for some reason catches only 8 out of 9 paragraphs... its really weird. I have upped the test page to http://www.ezee.se/tests/para_regex2.php.txt so you can have a look at it... didnt want to post such a lot of text to the list. > > Thanks again, > R > > > __________________________________________________ __________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i...Dypao8Wcj9tAcJ Yep, sorry... Just add the s preg_match_all('|<p[^>]*>(.*)</p>|Uis', $myText, $myArray); |
|
![]() |
| Outils de la discussion | |
|
|