on 8/2/01 5:32 PM, Jeff Oien at [EMAIL PROTECTED] wrote:

> Is there a routine out there to strip all characters from a phone
> number except the numbers? I was going to write my own but
> figured there must already be one out there I can use. Thanks.
> Jeff Oien

ereg_replace ("[^0-9]","",$string);

 -- mike cullerton

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to