Changing multiple strings in one line of code
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4784595/how-to-replace-several-words-in-javascript">How to replace several words in javascript</a>  </p>
</blockquote>



<p>I have a string:</p>

<pre><code>var str = "1000 g teerts smarg 700 vickenbauer 400";
</code></pre>

<p>I need to replace <code>teerts</code>, <code>vickenbauer</code> by white spaces.</p>

<p>I can do like:</p>

<pre><code>str.replace("teerts", "");
str.replace("vickenbauer", "");
</code></pre>

<p>But, is there any way to bind the two into just one line?</p>
