On Fri, Sep 24, 2010 at 12:50 AM, lotug <[email protected]> wrote:

> I need regex code to identify 3108222400 phone number.
>
> If all of your phone numbers are ten digit, then:
die "$phone_num is not a ten digit number"  unless ($phone_num =~
m/^\d{10}$/);

Do you need to include any more criteria?

Regards,
Yogesh

Reply via email to