Simple js replace and return text?
<p>This is probably simple, I want to replace the <code>_</code> (underscore) with nothing (space) and return the text. Take a look at my attempt.. <a href="http://jsfiddle.net/NcG78/" rel="nofollow">http://jsfiddle.net/NcG78/</a>  </p>

<p>here is the code from the fiddle:</p>

<pre><code>function formatNice(text) {
    $(function() {
        var new = text.replace('_', ' ');

        return new;
    });
}​
</code></pre>
