> "lotug" == lotug writes:
lotug> I need regex code to identify 3108222400 phone number.
This question was posted (with the same vagueness) to
comp.lang.perl.misc. Check out some of the answers there. :)
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
http
On Fri, Sep 24, 2010 at 12:50 AM, lotug 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
Ernest,
Can you be a bit more detail into what you have and what you want?
Thank
On 9/23/10, lotug wrote:
> I need regex code to identify 3108222400 phone number.
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http
I need regex code to identify 3108222400 phone number.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/