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

Reply via email to