in reply to Re^4: Regular expression for Fax numbers
in thread Regular expression for Fax numbers

I *do* keep a list of area codes (admittedly not 100% up to date, but I do try to keep it updated). I don't keep a list of exchange codes, because the information doesn't appear to be available in a convenient form.

And the 123 area code isn't rejected because it doesn't exist, it's rejected because it's badly formed and such an area code can *never* exist in the current NANP.

  • Comment on Re^5: Regular expression for Fax numbers