Ask HN: Is there a standard for representing phone numbers in text?
I'm stuck as to the "best" way to represent my UK phone number in an e-mail and I am wondering if there is a standard way.
Currently I have "(+44) 01234567890", but I have seen...
..."+44 1234 567890" ..."+44 (0)1234 567890" ..."+44.1234 567890" ..."44-1234-567-890"
and various combinations.
I'd be interested to see the regex involved in things like Skype's phone number plugin if there is no standard... :\",
6 comments
[ 3.9 ms ] story [ 129 ms ] threadTo call the UK from the US you'd dial 011 for the exit code, then 44 for the UK country code. The country code for the US, and for Canada, is 1.
I was wrong earlier. Here goes example: +44(0)1234 567890 The + is the international access number (from the country you call from)which is 00 is my country The zero between brackets is to show the international number and the national number, people in your own country can call 01234567890 and people if I were to call you I would dial 00441234567890. ( 00 is the international acces code here)
(http://en.wikipedia.org/wiki/E.164)
(http://en.wikipedia.org/wiki/Telephone_number)
(http://en.wikipedia.org/wiki/Telephone_numbering_plan)