title: JQuery: Make contains case insensitive
body: <p>I have looked at other solutions to this on this site, but can't see how to adapt for my situation. I have the following code which looks for a label containing 'Size', but it needs to find 'size' too.</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
          $(document).ready(function() {                                                       
  
              if ( $('.productOptionsBlock label:contains("Size")').length &gt; 0 ) {
                  $('.productOptionsBlock label:contains("Size")').replaceWith('&lt;label&gt;Please select your size:&lt;/label&gt;');
              }
  
          });
      &lt;/script&gt;       
  </code></pre>
  
  <p>As a JQuery newby, I can't see how to apply the other functions I've found... </p>
  
  <p>Many thanks,</p>
  
  <p>Andy</p>