Colin -
Not sure if these might help, they are from a while back:
http://www.opensrs.org/archives/dev-list/0110/0049.html
http://www.opensrs.org/archives/dev-list/0110/0034.html
http://www.opensrs.org/archives/dev-list/0110/0035.html
--
John Keegan
[EMAIL PROTECTED]
http://RackShare.com
> From: Colin Viebrock <[EMAIL PROTECTED]>
> Date: Fri, 17 Oct 2003 15:52:07 -0400
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Validating/converting E.164 phone numbers
>
> I'm trying to come up with some code (PHP, but that's not important) to
> convert and validate any phone number that a user types in into an
> E.164 valid number.
>
> Two questions:
>
> 1. is there a regex or description of what makes a valid E.164 number?
> All I can find is that the number needs to be in the following format
>
> +AAA.BBBBBBBBBBBxCCCC
>
> Where AAA is the country code, BBBBBBB is everything else (ie. area
> code + exchange + number), and xCCCC is the optional extension.
>
> 2. Anyone have any code to try and convert phone numbers typed in other
> formats into E.164?
>
> - Colin
>