HI
In my webpage i have one TextBox Control.
In that textbox when i enter any three digits automatically i have to display an hyphen ("-") after the three digits
E.G:333-333-333-333-333
HOw to write code in Javascript
please help me
Thanks
karthik
Regular Expression For Phonenumber
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Suthish NairRank #92 · 22.8K reputationPosted Mar 23, 2012, 6:34 AM EDT
SenthilkumarRank #387 · 6.5K reputationPosted Mar 23, 2012, 7:23 PM EDT
http://msdn.microsoft.com/en-us/library/ff650303.aspx
Using the javascript, you can do like the following: