2

Possible Duplicate:
A comprehensive regex for phone number validation

What is the regular expression for only 13 digit phone number without the + symbol?

Number can be start from 0 to 9. Only numbers will be allowed. [No + symbol and . ]

Community
  • 1
  • 1
user1365169
  • 383
  • 1
  • 3
  • 10

1 Answers1

1

You can try this:-

 @"^\d{13}$"

or

 @"\d{13}"

\d means match any digit

and

{13} means 13 times

Rahul Tripathi
  • 168,305
  • 31
  • 280
  • 331