Use Javascript to match elements with a class pattern
<p>Hi I have a number of elements:</p>

<pre><code>&lt;div data-stage-1="hello"&gt;Hello&lt;/div&gt;
&lt;div data-stage-2="hello"&gt;Hello&lt;/div&gt;
&lt;div data-stage-3="hello"&gt;Hello&lt;/div&gt;
</code></pre>

<p>Using Javascript how would i pull these elements into an array by matching their similar data attributes? (Not the 'hello', but the 'data-stage-x')</p>
