title: In batch scripting how to extract number from a string using regex?
body: <p>I tried this! It will output thebentire string!. I need to extract just the number part (123):</p>
  
  <pre><code>C:\Documents and Settings\kamats\Desktop&gt;echo 123sunil | findstr "\d*"
  
  123sunil
  
  C:\Documents and Settings\kamats\Desktop&gt;
  </code></pre>