You are here: Re: preg_replace(...) looking for an exact number « All PHP « IT news, forums, messages
Re: preg_replace(...) looking for an exact number

Posted by FFMG on 08/15/06 10:49

Rik wrote:
> FFMG wrote:
> > Mumia W. wrote:
> >> On 08/15/2006 02:17 AM, FFMG wrote:
>
> Well, why not tell it that then:
> preg_replace('/(a){0,10}10{[^0-9]|$))/s',$string,'ccc$1');
>

Of course, thanks.

BTW some brackets were missing and I think it should have been $2, but
I get they idea.
Thanks

FFMG

 

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

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