title: Simple javascript regular expression to strip numbers
body: <p>All I want is to strip all the numbers from a string.</p>
  
  <p>So</p>
  
  <pre><code>var foo = "bar01";
  alert(foo.replace(/\d/,''));
  </code></pre>
  
  <p>Which obviously gives "bar1" because I've only specified one digit.  So why doesn't this work:</p>
  
  <pre><code>var foo = "bar01";
  alert(foo.replace(/\d*/,''));
  </code></pre>
  
  <p>Which gives "bar01"</p>