javascript remove a string from within a string
<p>I have the following code so far</p>

<pre><code>var dbasedata = document.forms[0]._dbase_name.value;
        dbasedata = dbasedata.toUpperCase();
        dbasedata = dbasedata.replace(/\s/g, "");
</code></pre>

<p>The next thing I want to do is to further remove the text "UK_CONTACTS" from the already trimmed string. note; sometimes "UK_CONTACTS" may not be present in the string (note sure if that's important)</p>
