title: Regular expression for a number criterion
body: <p>Can I get the regular expression for the following criteria?</p>
  
  <p>Number format only</p>
  
  <ul>
  <li><em>If</em> number starts with <code>07</code> <em>then</em> min length = 11 and max length = 11.</li>
  <li><em>If</em> number starts with <code>01</code>, <code>02</code>, <code>03</code>, <code>04</code>, <code>05</code>, <code>06</code>, <code>08</code>, <code>09</code> <em>then</em> min length = 10 and max length = 11.</li>
  </ul>
  
  <p>I tried this but doesnt seem to be working.</p>
  
  <pre><code>^[0]{1}([0-6,8-9]{10,11}|[7]{11})$
  </code></pre>