Re: Help with extracting please folks.!
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Help with extracting please folks.!

From: John Dunlop <usenet+2004@john.dunlop.name>
Date: Fri Sep 30 2005 - 22:03:24 CEST

kirill_uk wrote:

> So basically extract all between <a href=" and " >
> plus extract all between " > and </a><br>.

preg_match(
 '`(.*?)<br>`',
 $subject,
 $output)

Disclaimer: in case of contact with arbitrary HTML, rinse immediately.

-- 
Jock
Received on Tue Oct 18 02:30:07 2005