title: Phone Number Validation Javascript
body: <p>I want users to allow only phone numbers in following format </p>
  
  <p>xxx-xxx-xxxx or xxxxxxxxxx all digits only . Can some one suggest a regular expression to do this ?</p>