title: Regular expression for two or more dot
body: <p>live: <a href="http://jsfiddle.net/2KRHh/3/" rel="nofollow">http://jsfiddle.net/2KRHh/3/</a></p>
  
  <pre><code>$('#price').keyup(function(){
          $('#price').val($('#price').val().replace('..', '.'));
  })
  </code></pre>
  
  <p>I would like have only one dot in input. This working, but only for .. digit. If i still hold comma this not working, so i would like replace this with regular expression - if is two or more dot this should replace one more. </p>
  
  <p>This should also remove dot if is in different place - for example </p>
  
  <pre><code>11.23.32 - should remove second dot.
  </code></pre>