title: Creating a regex to parse a build version
body: <p>I'm tyring to grab a build verson from a file that contains the following line:</p>
  
  <pre><code> &lt;Assembly: AssemblyVersion("004.005.0862")&gt; 
  </code></pre>
  
  <p>and I would like it to return</p>
  
  <pre><code>4.5.862
  </code></pre>
  
  <p>I'm using sed in dos and got the following to spit out 004.005.0862</p>
  
  <pre><code>echo "&lt;Assembly: AssemblyVersion("004.005.0862")&gt;" | sed "s/[^0-9,.]//g"
  </code></pre>
  
  <p>How do I get rid of the leading zeros for each part of the build number?</p>