title: javascript regular expression phone number validation
body: <p>I would like to test if the right phone number was enterred in the text field.
  The phone number should be ddd-ddddddd which means 3digits then must have "-" and then 7 digits.
  How do I set the regular expression for that ?
  Thanks :)</p>