Manohar Gova

Manohar Gova

  • 1.5k
  • 255
  • 38.9k

Regex for phone number

Jun 19 2015 4:05 AM
hi i have phonenumber textbox
if  
1.user enters value 1234567892 in a textbox
i need format like (123)456-7890 
2.if user enters  (123)456-7890 this is also valid format 
 
how to do this pls help me 

Answers (4)