On Fri, Dec 31, 2010 at 19:09, Jim Lucas wrote:
>
> Actually...
>
> Specified here [1] it says that the {1,} is the same as '+'. I think you
> should
> drop the comma. If you don't this would be valid 844-2345-123456
>
> ^[2-9]{1,}[0-9]{2,}\-[2-9]{1,}[0-9]{2,}\-[0-9]{4,}$
>
> should be
>
> ^[2-
On 12/29/2010 4:35 PM, Daniel P. Brown wrote:
> On Wed, Dec 29, 2010 at 19:12, Ethan Rosenberg wrote:
>> Dear List -
>>
>> Thank you for all your help in the past.
>>
>> Here is another one
>>
>> I would like to have a regex which would validate that a telephone number
>> is in the format xxx
On Fri, Dec 31, 2010 at 12:05, Dmitriy Ugnichenko
wrote:
> I guess, this will work fine
>
> ereg('[0-9]{3}-[0-9]{3}-[0-9]{4}', $phone_number);
Not quite. Plus, all ereg* functions have been deprecated for
some time now.
--
Network Infrastructure Manager
Documentation, Webmaster Teams
htt
I guess, this will work fine
ereg('[0-9]{3}-[0-9]{3}-[0-9]{4}', $phone_number);
On Thu, Dec 30, 2010 at 2:12 AM, Ethan Rosenberg wrote:
> Dear List -
>
> Thank you for all your help in the past.
>
> Here is another one
>
> I would like to have a regex which would validate that a telephone
On 12/31/2010 11:10 AM, a...@ashleysheridan.co.uk wrote:
Erm, you say regex is overkill, then use one in your example!
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: "Al"
Date: Fri, Dec 31, 2010 15:53
Subject: [PHP] Re: Regex for telephone numbers
To:,
On 12/29
Erm, you say regex is overkill, then use one in your example!
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: "Al"
Date: Fri, Dec 31, 2010 15:53
Subject: [PHP] Re: Regex for telephone numbers
To: ,
On 12/29/2010 7:12 PM, Ethan Rosenberg wrote:
> Dear List -
>
> Th
On 12/29/2010 7:12 PM, Ethan Rosenberg wrote:
Dear List -
Thank you for all your help in the past.
Here is another one
I would like to have a regex which would validate that a telephone number is
in the format xxx-xxx-.
Thanks.
Ethan
MySQL 5.1 PHP 5 Linux [Debian (sid)]
Regex i
On Fri, Dec 31, 2010 at 09:11, Ethan Rosenberg wrote:
> Dear list -
>
> I am an entry level data base programmer [PHP/MySQL HTTP/CSS] looking for
> work in the NY metropolitan area. Any ideas?
Search Google, but trust me, you're going to need more experience
than entry-level to pick up a job
Dear list -
I am an entry level data base programmer [PHP/MySQL HTTP/CSS] looking
for work in the NY metropolitan area. Any ideas?
Should we have a job search board?
Ethan
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php