title: JS string search issue
body: <p>Searching for a string at the start of another string works OK with this:</p>
  
  <pre><code>       if ($(this).text().search(new RegExp(filter, "i")) &lt; 0) { ...
  </code></pre>
  
  <p>I also want to search the second word (following a comma) but the following never returns a hit:</p>
  
  <pre><code>findcomma = ($(this).text().indexOf(",")+1); // plus 1 to ignore comma itself
      if ($(this).text().substring(findcomma,$(this).text().length).search(new RegExp(filter, "i")) &lt; 0) { ...
  </code></pre>
  
  <p>Help with the second If statement will be appreciated
  thanks </p>