Replacing a number in a string with jquery
<p>I have a string which has a number in it that I would like to replace with another number.</p>

<p>ie</p>

<pre><code>&lt;a href="" id="my_link"&gt;blah blah 32 blah blah&lt;/a&gt;
</code></pre>

<p>I know there is only going to be 1 number in this string.</p>

<p>I can get this far:</p>

<pre><code>var my_string = $('a#my_link').text();
</code></pre>

<p>But basically I don't know how to then perform a search on my_string for a numeral and replace that number with something else.</p>

<p>Is that possible with jQuery?</p>

<p>Thanks for any ideas.</p>
