I know about the C# port of the Google libphonenumber Parsing Library:
http://code.google.com/p/libphonenumber/
What I need is to take a phone number string and break it up into the corresponding pieces, Country Code, Area Code, Prefix, Number, and Extension.
Can this library be used to do that? If so, can someone post a simple test in C# to do that? I don’t see how to do it in the docs.
BTW, they can be domestic or international.
The libphonenumber library will parse a number and validate that it matches a known pattern for domestic and international numbers. It will tell you the country code and the correct dialing pattern domestically or internationally for any given number.
It will not parse it into constituent parts beyond that. No area code, prefix, number, extension parsing.
It’s open source so if you need to do this it might be a good starting place, but I’m sure it’ll be a huge undertaking.