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
Navigation:
[Reply to this message]
|