i have a telephone textbox. which has two format.
one is 1 800 ###-#### and 800 ###-####.i have made regular expressions for 1 800 ###-#### and it is working fine
but unable to validate both format.means telephone number can support both format .my regular expression for 1 800 ###-#### is
"^\1[\s](800)?[\s\-]?\d{3}\-?\d{4}$" but unable to make both.please help me.what is the regular expressions for support two format
Arul RPosted Jan 6, 2016, 12:43 PM
Krishna Rajput SinghPosted Jan 6, 2016, 12:00 PM
rony SinghPosted Jan 6, 2016, 9:44 AM