On Mon, May 5, 2008 at 9:59 PM, Ryan S <[EMAIL PROTECTED]> wrote:
>  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


If you're using php5 you can use DOM's getElementsByTagName.

If you still think you need to do some sort of regex it is possible
but it will be buggy at best.

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

Reply via email to