\+(9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d| 2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]| 4[987654310]|3[9643210]|2[70]|7|1)\d{1,14}$
The correct format for matching a common international phone number. I have replaced the US local telephone line access code 011 with the standard international access code identifier β+β, which makes it mandatory. I also changed the minimum for the national number to at least one digit.
Please note: if you enter numbers in this format into your mobile phone address book, you can successfully call the number in your address book no matter where you travel. For landlines, replace the plus sign with the international access code for the country from which you are dialing.
Please note that this does NOT take into account national tariff plan rules - in particular, it allows the use of zeros and ones in places where national tariff plans do not allow, and also allows the number of lengths to exceed the national tariff plan for some countries (for example, USA )
Eric Aug 6 '11 at 15:38 2011-08-06 15:38
source share