title: Regex for thousand separated numbers
body: <p>How can I verify with regex in Java if a number is thousand separated (for example with dot)?</p>
  
  <p>Of course it doesn't have to accept any negative number. I've already Googled all around and so far the best I found was <code>[1-9]?\.[0-9]*</code>. However, it's not perfect. For example it accepts <code>1.000000000</code> which is not correct.</p>
  
  <p>How can I verify a positive number with a dot thousand separator? For example the number: <code>1.024.553</code> or <code>100.000</code></p>
  
  <p>It should accept:</p>
  
  <ul>
  <li><code>123</code></li>
  <li><code>123.123</code></li>
  <li><code>0</code></li>
  <li><code>12.111</code></li>
  </ul>
  
  <p>But not:</p>
  
  <ul>
  <li><code>00</code></li>
  <li><code>kukac</code></li>
  <li><code>0.111</code></li>
  <li><code>1...1</code></li>
  <li><code>1.1</code></li>
  </ul>