How do I replace part of a string using jQuery then wrap tags round each word of the string
<p>I need to replace any instance of a particular phrase, such as <code>My Phrase</code> with something like <code>&lt;span class="highlight"&gt;My&lt;/span&gt; &lt;span class="highlight"&gt;Phrase&lt;/span&gt;</code> using jQuery.</p>

<p>I am ok with small things in jQuery but this one just has me going in circles. I have found some solutions to parts of this online but just cant get things to work together.</p>

<p>Help would be appreciated.</p>
