title: Javascript telephone number validation
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6195458/phone-number-validation-javascript">Phone Number Validation Javascript</a>  </p>
  </blockquote>
  
  
  
  <p>Hi I am creating validation for a form using javascript.
  I am wanting to check the telephone number field using if statements to ensure it contains a 4 digit area code then a space followed by a 7 digit number.</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks</p>