5 msgldap_search results limited
7 msgRe: Regex to catch <p>s (weird result)
11 msg$_SESSION v. Cookies
13 msgHow to determine if file is writable and deletable
1 msgphp make fails with Sybase15
2 msgProblems with mod_vhost_alias and PHP require
6 msgAI file and mapping with PHP
13 msgthe Y2K38 BUG
4 msgIncorrect version shown in phpinfo() and phpver...
2 msgGD - JPEG to PNG with transparency and color
4 msgPHP Web Apps & OpenID
3 msgadding the results of mysql_query
1 msggetting iostat -x %b with php
4 msgHandling Incoming Email Attachments
2 msgDifference between imagegif/imagejpeg sending t...
4 msgstrange behavior, when converting float to int

Regex to catch <p>s
\ Ryan S (6 May 2008)
. \ Eric Butera (6 May 2008)
. \ Ryan S (6 May 2008)
. . \ Shawn McKenzie (6 May 2008)
. . \ vester_s (6 May 2008)
. . . \ Ryan S (7 May 2008)
. . . . \ smulyono (8 May 2008)
. \ Aschwin Wesselius (6 May 2008)
. . \ Aschwin Wesselius (6 May 2008)
. . . \ Aschwin Wesselius (6 May 2008)
. \ Aschwin Wesselius (7 May 2008)

3 msgusing explode
4 msgRecommended book on PHP/SOAP
1 msgRES: [PHP-DB] Shopping cart session handling
Subject:Regex to catch <p>s
Group:Php-general
From:Ryan S
Date:6 May 2008


 

Hey all!

To say I suck at regex is an understatement so really need any help I can get on this, I have a page of text with different html tags in them, but each "block" of text has a <p> or a < class="something"> tag... anybody have any regex that will catch each of these paragraphs and put then into an array
example:
array[0]="<p> first block </p>";
array[1]="<p class="blah"> block X</p>";

Thanks!
R




________________________________________________________________________________ ____
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



© 2004-2008 readlist.com