title: Remove string after predefined string
body: <p>I am pulling content from an RSS feed, before using jquery to format and edit the rss feed (string) that is returned. I am using <code>replace</code> to replace strings and characters like so:</p>
  
  <pre><code>var spanish = $("#wod a").text();
  var newspan = spanish.replace("=","-");
  $("#wod a").text(newspan);
  </code></pre>
  
  <p>This works great. I am also trying to remove all text after a certain point. Similar to truncation, I would like to hide all text starting from the word "Example".</p>
  
  <p>In this particular RSS feed, the word example is in every feed. I would like to hide <code>"example"</code> and all text the follows that word. How can I accomplish this?</p>