title: Regex to match string not ending with pattern
body: <p>I try to find a regex that matches the string only if the string does not end with at least three '0' or more. Intuitively, I tried:</p>
  
  <pre><code>.*[^0]{3,}$
  </code></pre>
  
  <p>But this does not match when there one or two zeroes at the end of the string.</p>