Regex to catch <p>s

From: Date: Tue, 06 May 2008 01:59:26 +0000
Subject: Regex to catch <p>s
Groups: php.general 
Request: Send a blank email to php-general+get-273926@lists.php.net to get a copy of this message
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

« previous php.general (#273926) next »