RidgeStar
About
Locations
Manual
Reference
Notices
Email
HTML
Internet
Passwords
Processes
Results Lists
RidgeStar
Tools
Acrobat Reader
Comparators
Compute Age
Date Differences
Dates and Times
Editing Email
Fragment Fields
IP Mapping
Phone Numbers
Key Search
Show Characters
Similar
Text Format
Service
Logon
RidgeStar

Reference: Tools-Phone Numbers

Logontranslate
Get Started |Calendar |Locations

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:

Phone Number Formatting
Input
Valid?Yes
Internal
FormatPhone
DisplayPhone
Action

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