title: How to extract only version number from a string
body: <p>I am extracting oracle version from windows using powershell command and i get result as <code>10.2.0.3.0Patch2</code>, however i need to extract only numeric  value i.e. <code>10.2.0.3.0</code> (only version number). Any way we can do it ?</p>
  
  <p>Version info extracted is =</p>
  
  <pre><code>10.2.0.3.0 Production, 10.2.0.3.0Patch2 Production, 10.2.0.5.0 Production, 11.2.0.4.0 Production
  </code></pre>