title: jQuery Search entire div block for string
body: <p>I have a block of code with various tags but all within a set of div tags.  I need to be able to search everything within the div block to replace a string with another.  Here is the block.</p>
  
  <pre><code>&lt;div class="form-group field-thoughts-cmh0-thought required"&gt;
  &lt;label class="control-label" for="thoughts-cmh0-thought"&gt;cmh0.&lt;/label&gt;
  &lt;input type="text" id="thoughts-cmh0-thought" class="form-control" name="Thoughts[cmh0][thought]"&gt;
  &lt;button type="button" class="entAdd"&gt; Add Above &lt;/button&gt; 
  &lt;button type="button" class="entDelete"&gt; Delete &lt;/button&gt;
  &lt;div class="help-block"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>What I'm trying to do is replace all of the 'cmh0' instances with another string.  I know I can do this one by one, but there is a very good chance the above block is going to change and change multiple times as time goes on.  Consequently, I'd like an elegant way to select and replace all of the 'cmh0' instances within the main div block.</p>
  
  <p>How would I do this?</p>
  
  <p>Thanks in advance.</p>