title: Regex to allow all types of numbers
body: <p>I just want a field to allow ALL types of numbers: whole, decimal, negative... and all combinations of said types. No commas necessary.</p>
  
  <p>This is the closest I've gotten in about 3 days of fighting with it:</p>
  
  <pre><code>/^[\.\-\d]*?$[1-9][\.\-\d]*?$/
  </code></pre>
  
  <p>This does not allow whole numbers! I don't undestand what is wrong, can someone please explain how to do this?</p>