title: How to remove from a string everything which is not a digit, a dot or a minus in javascript
body: <p>Is there a quick <code>regex</code> that removes every character which is not a digit, a dot or a minus from a string?</p>