jQuery Select # id with word as prefix and counter as suffix
<p>Is there a way to select all id's with jQuery with a prefix "my" and a suffix "0-9".
Something like these $("#my$1-4") or is it just possible with a loop ?</p>

<pre><code>    &lt;div id="my1"/&gt;
    &lt;div id="my2"/&gt;
    &lt;div id="my3"/&gt;
    &lt;div id="my4"/&gt;
    &lt;div id="my5"/&gt;
</code></pre>
