title: Regex for integers 7-12 digits long
body: <p>I have another question today. I have an email appliance that I am setting up to filter certain data, but it can only do this via regular expression. I have this partially accomplished <a href="https://stackoverflow.com/questions/18902754/regular-expression-to-look-for-a-numeric-range-between-two-numbers">thanks to this fine gentleman.</a> What I need to accomplish now is something a bit more complex. I should add that I am a complete novice at regex. Right now i'm using this:</p>
  
  <pre><code>(?&lt;!\d)(?!1000000)([1-7]\d{6}|8000000)(?!\d)
  </code></pre>
  
  <p>To find 7 digit integers within a range from 1000001 to 8000000, what i'm looking to do now is find integers between 1000000 and 12000000000, I can re purpose this code by simply changing up the section here</p>
  
  <pre><code>([1-7]\d{6}
  </code></pre>
  
  <p>But from my understanding this would require I format 5 separate expressions to find the data I need (I may be completely off base about this, but I don't know enough about regex to change this line to what I need). I would prefer one expression to look for data between 7-12 digits and stop at certain explicit 12 digit value. How can I accomplish this?</p>