views:

39

answers:

2

I want to validate a phone number entered by user according to his/her country which I know. I am using PHP/Javascript/MYSQL in my site.

OR

have anybody list of mobile number format for all countries i.e. area code,country code, minimum and maximum length??

A: 

Google "php phone number regex".

Steve
thanx, but is there any library which can validate mobile number for any country passed to it?
BhatiaVJ
That's a better question - maybe you could edit your original to ask that instead. (Also sorry but I don't know the answer :) )
Steve
A: 

I know about a paid service from data8

I am sure there are others out there do a Google for "mobile phone validation api"

Rippo