locked
Regular Expression For US Phone Number in C#?

    Question

  • Hello friends,

    If you know regular expression for US phone validation please let me know. I have used

    ^[01]?[- .]?(\([2-9]\d{2}\)|[2-9]\d{2})[- .]?\d{3}[- .]?\d{4}$  expression . But it is fine for 10 digit numbers validation. I may have 12 digit numbers like 23-456-213-765  .  What is the regular expression for this?

    Thursday, October 01, 2009 7:13 AM

All replies