title: jQuery Replace Text Inside Tag with No Attributes
body: <p>I'm looking to replace the text inside a <code>&lt;nobr&gt;</code> but I can't figure out how.</p>
  
  <p>It would be easy if I could do:</p>
  
  <pre><code>$('nobr:contains("Due")').replace('Due Date');
  </code></pre>
  
  <p>but there's another <code>&lt;nobr&gt;</code> that has the word <code>"Due"</code> in it and I don't want that affected.</p>
  
  <p>What's the simplest way to find the <code>&lt;nobr&gt;</code> that's exactly equal to <code>"Due"</code> and replace it with <code>"Due Date"</code>?</p>