You are here: Re: Regular Expression to extract all .JPG and .PNG URL's « PHP Programming Language « IT news, forums, messages
Re: Regular Expression to extract all .JPG and .PNG URL's

Posted by Lars Eighner on 10/12/07 16:06

In our last episode,
<1192204933.239597.226170@v29g2000prd.googlegroups.com>,
the lovely and talented kosanovic@gmail.com
broadcast on comp.lang.php:

> Everybody thank you very much for your help. However I coulndn't make
> work any of the examples. The output I get all the time is "Array" and
> that's it.

Did you even read the manual to find out what preg_match_all actually
does?


> Steve, image paths are not always in the src value but they are always
> quoted.
> So I thought to make it find .jpg or .png and grab the string on the
> left form the " sign. How would that be in reg exp?

--
Lars Eighner <http://larseighner.com/> <http://myspace.com/larseighner>
Countdown: 465 days to go.
What do you do when you're debranded?

 

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

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