title: Find certain text and add css
body: <p>I have a certain text like this: </p>
  
  <pre><code>&lt;li&gt;certain text&lt;/li&gt;
  </code></pre>
  
  <p>Now I want to color the piece that says 'text'. With this I can find the complete text:</p>
  
  <pre><code>$(function() {
      var color = $('*:contains("text")');
      color.css("color", "red");
  });
  </code></pre>
  
  <p>The problem is that this code turns the complete text in to red color. How do I get only the piece that says 'text' and do css on that part?</p>