Re: [PHP] PHP Phone Number Validation

2005-05-17 Thread Paul Fierro
On 05/16/2005 7:48 PM, IMEX Research <[EMAIL PROTECTED]> wrote: > OK, I know this has probably gone aruond the list a few times, but how do I > validate a phone number that is in the format ddd-ddd- ?? I can't figure > out how. I try to not restrict the way your users enter phone numbers or

Re: [PHP] PHP Phone Number Validation

2005-05-17 Thread John Nichel
IMEX Research wrote: OK, I know this has probably gone aruond the list a few times, but how do I validate a phone number that is in the format ddd-ddd- ?? I can't figure out how. preg_match ( "/^\d{3}-\d{3}-\d{4}$/", $phnumber ) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTE

RE: [PHP] PHP Phone Number Validation

2005-05-17 Thread Kim Madsen
> -Original Message- > From: IMEX Research [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 17, 2005 2:49 AM > To: php-general@lists.php.net > Subject: [PHP] PHP Phone Number Validation > > OK, I know this has probably gone aruond the list a few times, but how do

[PHP] PHP Phone Number Validation

2005-05-16 Thread IMEX Research
OK, I know this has probably gone aruond the list a few times, but how do I validate a phone number that is in the format ddd-ddd- ?? I can't figure out how. Jeremy White IMEX Research Manager, Online Marketing 408-268-0800 1474 Camino Robles San Jose, CA 95120 [EMAIL PROTECTED] http://www