Javascript match if variable has more than five zeros
<p>I'm trying to check if src has more than five consecutive zeros. For example <a href="http://domain.com/images/00000007.jpg" rel="nofollow">http://domain.com/images/00000007.jpg</a> would match but <a href="http://domain.com/images/0000_1.jpg" rel="nofollow">http://domain.com/images/0000_1.jpg</a> wouldn't. This is what I have so far but it doesn't seem to work. Any suggestions?</p>

<pre><code>if (src.match(/0{5,}$/)) {
  match found
}
else {
  no match found
}
</code></pre>
