title: Regular expression - replace special characters, except dot
body: <pre><code>$('#price').keyup(function(){
          $('#price').val($('#price').val().replace(/[_\W]+/g, "-"));
  })
  </code></pre>
  
  <p>See it live at: <a href="http://jsfiddle.net/2KRHh/6/" rel="nofollow">http://jsfiddle.net/2KRHh/6/</a>.</p>
  
  <p>This removes special characters, but how can I specify that it not replace dots?</p>