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

Posted by Captain Dondo on 06/15/05 18:59

JDS wrote:
> 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?
>

No, but my RE always pulls out the URL.. I can't figure out how to make
it conditional:

Only match if URL doesn't contain prev or next and be case insensitive

....

 

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

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