removing dot symbol from a string
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2390789/how-to-replace-all-points-in-a-string-in-javascript">How to replace all points in a string in JavaScript</a>  </p>
</blockquote>



<p>I am trying to remove '.'(dot) symbol from my string. and The code that Ive used is </p>

<pre><code>checkedNew = checked.replace('.', "");
</code></pre>

<p>Bt when I try to alert the value of checkedNew, for example if the checkedNew has original value U.S. Marshal, the output that I get is US. Marshal, it will not remove the second dot in that string. How do remove all dot symbols?</p>
