title: Extract number from string in MSBuild
body: <p>I would like to extract the number from a string in MSBuild. </p>
  
  <p>How can I do that using the built in tasks or the MSBuild.Community.Tasks? (RegexMatch might do, but how?)</p>
  
  <p>Example: I have the string</p>
  
  <pre><code>agent0076
  </code></pre>
  
  <p>and I would like to get out the number, without the leading zeros:</p>
  
  <pre><code>76
  </code></pre>