title: Remove leading zeros of a string in Javascript
body: <p>I have a scenario where I need to remove any leading zeros from a string
  like <code>02-03</code>, <code>02&amp;03</code>, <code>02</code>,<code>03</code>. I have this regex( <code>s.replace(/^0+/, '');</code> ) to remove leading zeros but I need something which works for the above cases.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var s = "01";
  
  s = s.replace(/^0+/, '');
  
  alert(s);</code></pre>
  </div>
  </div>
  </p>