Reply to Re: ereg_replace

Your name:

Reply:


Posted by Krustov on 07/05/06 16:08

<comp.lang.php>
<Bob Bedford>
<Wed, 5 Jul 2006 17:57:51 +0200>
<44abe17c$0$12615$5402220f@news.sunrise.ch>

> thanks for your code: I've been able to do as simple as:
> $number = ereg_replace("[^0-9/.]",".",$number);
> (we decided to remove the "space" but may be easely be added I think).
>

I havent got my head round regular expressions yet either - but it would
be easy to write a small loop to replace everything that wasnt
012345678/. with a space .

Can write it for you if you want .


--
Encrypted email address
www.emailuser.co.uk/?name=KRUSTOV

[Back to original 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

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