Welcome To Snipplr
Everyone's Recent Snippets Tagged phone
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
A very liberal validation of phone number. Assures there are at least 10 digits in there somewhere.
1
869
posted 14 years ago by housecor
a 2-lines code to start a phone call from your Android application
0
905
posted 14 years ago by funkypanda
It's important that the newPn var that you pass into the Convert.ToInt64 function is in the xxxxxxxxxx format and that no characters are present.
1
1398
posted 16 years ago by blackf0rk
(Created for JavaScript)
These are rather forgiving. Spaces, dashes, or periods are allowed as separators. Extensions can be recognized by several strings (#, x, x., ext, ext., extension).
Area code: $1$2
Exchange code: $3
Station code: $...
1
1374
posted 16 years ago by wizard04
A simple method of validating a telephone number using regular expressions and PHP
3
1689
posted 16 years ago by aristoworks