You are here: Re: Regular Expression replacement « All PHP « IT news, forums, messages
Re: Regular Expression replacement

Posted by Steve on 11/07/07 14:05

"hol" <contact7@hol.gr> wrote in message
news:fgqmsv$u8d$1@newsmaster.pub.dc.hol.net...
> Thanks for your reply Steve.
>
> I tried what you suggested
> $pvid = str_replace(" /width\s*?:\s*?\d{1,3}px/i","width:800px",$pvid) ;
> but unfortunatelly did not work.

btw, look at the replacement string above. it starts with " /width"...note
the space. that may make a difference.

 

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

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