title: Find only exact match using td:contains
body: <p>I know this has been asked several times but it doesn't work for me. I have this:</p>
  
  <pre><code>$("td:contains('Hello')").html("Hi");                   
  $("td:contains('Hello World')").html("Bye");
  </code></pre>
  
  <p>I've done this:</p>
  
  <pre><code>$("td:contains('Hello')").filter(function() { 
      return $(this).text() == "Hi";
  });
  </code></pre>
  
  <p>But both are coming up "Hi". I only want table data with the exact string "Hello" to be replaced with "Hi". The "Hello World" should be replaced with "Bye", but this is not so. Can someone please help?</p>