Hi There,
I am trying this codeto put +1 as optional and than 10 digit ph number validation on page.
I first used this code: var phoneno =/^\d{10}$/; which worked fine.
But now I want to modify it to accept +1 which should be optional. I am trying to +1? for it to be optional but not getting it through.
Can someone help
*This post is locked for comments