Catching PHP bracket style elements with jQuery
<p>I have a legacy PHP application which uses brackets in it's naming of form elements e.g.</p>

<pre><code>&lt;select name="samplegroup[776]" id="samplegroup[776]"&gt;
&lt;option value="1"&gt;1&lt;/option&gt;
&lt;option value="2" selected &gt;2&lt;/option&gt;
&lt;option value="3"&gt;3&lt;/option&gt;
&lt;/select&gt;
&lt;select name="samplegroup[883]" id="samplegroup[883]"&gt;
&lt;option value="1"&gt;1&lt;/option&gt;
&lt;option value="2" selected &gt;2&lt;/option&gt;
&lt;option value="3"&gt;3&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>How can I match selects which have <code>samplegroup</code> followed by a number in brackets with jQuery? E.g. <code>$("what_do_i_write_here")</code>?</p>
