title: Regular expression getElementById
body: <p>I need to use pure Javascript for the first time in a long while, and having gotten used to the comfy mattress of jQuery, all the important stuff is escaping me.</p>
  
  <p>I need to select a bunch of divs on regular expression. So I have stuff like this;</p>
  
  <pre><code>&lt;div id="id_123456_7890123"&gt; .. &lt;/div&gt;
  &lt;div id="id_123456_1120092"&gt; .. &lt;/div&gt;
  &lt;div id="id_555222_1200192"&gt; .. &lt;/div&gt;
  &lt;div id="id_123456_9882311"&gt; .. &lt;/div&gt;
  </code></pre>
  
  <p>And I'd need to create a loop that goes through all the divs with an id that begins with <code>id_123456_</code>. How would I go about doing that?</p>
  
  <p>I used jQuery with the <code>:regex</code> filter plugin before, but looking at it, it doesn't seem like there's much I could salvage in a pure javascript rewrite.</p>