Re: Phone Number #s Only?
| From: | mike cullerton | Date: | Thu, 02 Aug 2001 23:52:50 +0000 |
| Subject: | Re: Phone Number #s Only? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61019@lists.php.net to get a copy of this message | ||
on 8/2/01 5:32 PM, Jeff Oien at jeff@webdesigns1.com 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