On Wed, 2001-10-17 at 16:00, Lauri Vain wrote: > Hello all, > > I need a script that would find all the links (both -- web sites and mail > addresses) on a given page with the link text. > With the uttermost probability, somebody has written such a script. Can somebody > help?
There is a class floating around called Snoopy which does at least most of what you'd like...not sure about the link text. You could tweak it's regex and code to do that though. http://snoopy.sourceforge.com - Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]