Title |
Test
Find
Cisco IP Phone number - 10 digit number
|
Expression |
^\d{10}$ |
Description |
I needed an expression to allow only a 10 digit number to be entered. No () or dashes or spaces. Cisco IP phones only like the 10 digit number. So here's what I came up with. Very short and simple!
|
Matches |
0123456789, any 10 digit number. |
Non-Matches |
01245, 01234567899, Less than or greater than 10 digits will fail. |
Author |
Rating:
Not yet rated.
John Burrey
|
Source |
|
Your Rating |
|