You are here: Re: Help with extracting please folks.! « PHP Programming Language « IT news, forums, messages
Re: Help with extracting please folks.!

Posted by John Dunlop on 09/30/05 23:03

kirill_uk wrote:

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

preg_match(
'`<a href="([^"]+)" >(.*?)</a><br>`',
$subject,
$output)

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

--
Jock

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация