How to replace more strings in a variable?
<p>In Php it's easy:</p>

<pre><code>str_replace (array(...), array(...), $subject)
</code></pre>

<p>But how to do it in javascript?</p>

<p>thanks in advance,</p>
