title: Regex pattern to extract version number from string
body: <p>I want to extract version number from string.</p>
  
  <pre><code>a string =  "Tale: The  Secrets 1.6"
  
  b string=" The 34. Mask 1.6.98";
  </code></pre>
  
  <p>So for a version number is 1.6 and for b is 1.6.98</p>