title: regex to filter version from string
body: <p>I have the following strings:</p>
  <p>String 1-</p>
  <pre><code>Cisco IOS Software, C3900 Software (C3900-UNIVERSALK9-M), Version 15.4(3)M3, RELEASE SOFTWARE (fc2) ROM: System Bootstrap, Version 15.0(1r)M16, RELEASE SOFTWARE (fc1)
  </code></pre>
  <p>String2-</p>
  <pre><code>Cisco IOS XE Software, Version 16.05.01b
  Cisco IOS Software [Everest], ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.5.1b, RELEASE SOFTWARE (fc1)
  licensed under the GNU General Public License (&quot;GPL&quot;) Version 2.0.  The
  software code licensed under GPL Version 2.0 is free software that comes
  GPL code under the terms of GPL Version 2.0.  For more details, see the
  </code></pre>
  <p>from both the strings I need to get only <code>16.05.01b</code> and <code>15.4(3)M3</code> when I run Regex.</p>
  <p>I have tried this <code>r'((?&lt;=Version\s)\d+\.\d+\(\d+...)'</code>
  I am able to fetch <code>15.4(3)M3</code> not <code>16.05.01b</code>.</p>
  <p>and <code>r'((?&lt;=Version\s)\d+\.\d+\(\d+...)'</code></p>
  <p>one regular expression should be able to fetch the version from both the strings, but both do not give me the result.</p>