title: Two different regular expressions in one?
body: <p>I want to put this regexs into one regex, but dont now how:</p>
  
  <pre><code>/^([0-9]{2,4})\-([0-9]{6,7})$/
  /^\*([0-9]{4})$/
  </code></pre>
  
  <p>so the string can get XX(XX)-XXXXXX(X) or *XXXX</p>
  
  <p>Thanks.</p>