note 77386 deleted from function.preg-match-all by nlopess

From: Date: Sat, 01 Sep 2007 16:32:59 +0000
Subject: note 77386 deleted from function.preg-match-all by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-130059@lists.php.net to get a copy of this message
Note Submitter: TheSeoDude Reason: spam ---- http://www.tellinya.com/art2/79/regexp-links-from-html A simple, still not short, function to extract hyperlinks from html along with attributes using some preg_match_all calls. It will also allow you to find those with rel=nofollow and verify your link exchanges for example. It also converts IMG alt attributes to text to place text instead of images inside links. Hope you have fun with it and, if bugs are found, notify me quickly so I can address them. I use this function and need it functional. PS: You can use this function as a basic regexp example. PHP & RegExp rule the world!

« previous php.notes (#130059) next »