The processing of Telephone Numbers from data entry forms, in machine readable files, and at other times, as necessary, can be an imprecise activity.
This is the result of differing phone systems and formats throughout the world and, indeed, individuals having specific preferences over style. Of course,
RidgeStar Sites are, by their very nature, computer systems that cannot be imprecise and must have a standard and identifiable way to handle data elements of this sort. We offer the following mechanism to accept, process, store, and display telephone numbers based upon the North American phone system.
The following form permits you to enter a phone number string and watch how the RidgeStar routines would process it. The processing used to produce the
results are documented at the bottom of this page:
The form of an input area containing a phone (where aaa=area code, ppp=exchange, nnnn=number, xxxx=extension) is:
[[1[-]][(]aaa[)] ]ppp[-]nnnn[ xxxx]
- Leading and trailing spaces are ignored
- The following embedded symbols are removed: ( ) . , - / \
- If unspecified, the area code has a Site defined default value
- "1-" (the long distance or "country" code) is not stored and will be removed, if specified