title: Wildcards: get elements with classes that have just one character more apart from the static string
body: <p>I want to use wildcards but just for those classes that have one character more apart from the static string.</p>
  
  <p>This is:</p>
  
  <p>Let's explain it. If I have this two elements:</p>
  
  <pre><code>&lt;div class="foo_1"&gt;&lt;/div&gt;
  &lt;div class="foo_1_other_characters"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>when using </p>
  
  <pre><code>$('[class^=foo_1]').html("bar");
  </code></pre>
  
  <p>I get </p>
  
  <pre><code>&lt;div class="foo_1"&gt;bar&lt;/div&gt;
  &lt;div class="foo_1_other_characters"&gt;bar&lt;/div&gt;
  </code></pre>
  
  <p>because it is selecting both elements. But I want to select just the classes that have <strong>ony one character more</strong> apart from the static substring (<code>foo_</code>). That is, I would like to get just:</p>
  
  <pre><code>&lt;div class="foo_1"&gt;bar&lt;/div&gt;
  </code></pre>
  
  <p>Is this possible using jQuery?</p>