note 37072 deleted from function.preg-match-all by pollita

From: Date: Sat, 01 Nov 2003 19:41:06 +0000
Subject: note 37072 deleted from function.preg-match-all by pollita
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-59640@lists.php.net to get a copy of this message
Note Submitter: fabio[ANTISPAM]ATsampaioDOTcom ---- If you wish to break down all inner tags from a source code like < div >text< a href=foo>foo< /a >text< /div > into separate array elements try: preg_match_all ("/(<([\w]+)[^>]*>)([^<]*)(<\/\\2*>)/", $data, $matches) Rgds.

« previous php.notes (#59640) next »