title: need a regular expression to match tel number
body: <p>I want to match expression like <code>(010)12345678</code> or <code>010-12345678</code>. Now my regular expression is <code>\(?\d{3}[)-]\d{8}</code>, but it where match expression like <code>(010-12345678</code>. How should I write a true regular expression?</p>
  
  <p>EDIT:</p>
  
  <p>I write a right regex like <code>(\(\d{3}\)|[^(]\d{3}-)\d{8}</code> that can meet my needs.</p>