How to replace text in a string without a selection
<p>How to take something like</p>

<pre><code>var value = 'Hello there';
</code></pre>

<p>and do a jQuery replace, like</p>

<pre><code>$(value).replace('there','world');
</code></pre>

<p>Every example I can find will show you how to replace text that is in an HTML object, what if it's just in JS?</p>

<ul>
<li><ul>
- 
</ul></li>
</ul>

<p>Is there a way to do this with jquery?<br>
use the $ selector to select a variable?</p>
