locked
RegEx for phone details RRS feed

  • Question

  • Hi experts, i need phone details to accept dot(.),dash(-)  and space. Leading and ending char must be number. I want to enter number only as i have different fields for country code, areacode and extension.

    Thanks in advance.
    Monday, January 5, 2009 4:52 AM

Answers

  •  

    ^\d+[. -\\d]*\d+$

    • Marked as answer by jdp12383 Monday, January 5, 2009 2:22 PM
    Monday, January 5, 2009 2:22 PM