Replace text in string within an element after a specific character?
<p>very new to JQuery</p>

<p>I'm trying to strip out text in a string within an element that that appears after a specific character.</p>

<p>I'm getting this:</p>

<p><code>&lt;h3&gt;Lorem ipsum dolor sit amet: consectetur adipisicing&lt;/h3&gt;</code></p>

<p>And I need this:</p>

<pre><code>&lt;h3&gt;Lorem ipsum dolor sit amet&lt;/h3&gt;
</code></pre>

<p>I'm a newbie and would really appreciate any help offered.
Thanks!</p>
