title: javascript replace characters
body: <p>I want to replace all occurent of "-", ":" characters and spaces from a string that appears in this format:</p>
  
  <pre><code>"YYYY-MM-DD HH:MM:SS"
  </code></pre>
  
  <p>something like:</p>
  
  <pre><code>var date = this.value.replace(/:-/g, "");
  </code></pre>