You are here: Re: Parsing HTML with Regular Expressions « HTML « IT news, forums, messages
Re: Parsing HTML with Regular Expressions

Posted by JDS on 06/15/05 18:44

On Wed, 15 Jun 2005 08:39:45 -0700, Captain Dondo wrote:

> I want the RE to not match....
>
> The RE I am using is
>
> $re = '<[aA] .*image=([a-zA-Z0-9.:/-]*).*/>';
>
> and the actual match is done via:
>
> preg_match_all ( $re, $text , $matches, PREG_OFFSET_CAPTURE);
>
> TIA...

Are you getting any errors? What are they?

--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

 

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

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