title: Split String( String contains Regular expression)
body: <p>I want to split the last string from given path, that string contains some numbers like 1.625.235, but this numbers vary every time. Irrespective of the number that last string should be split.</p>
  
  <p>Ex:   </p>
  
  <pre><code>string = "C:/chef/cache/Dynatrace-OneAgent-Windows-1.625.235.msi"
  output:  Dynatrace-OneAgent-Windows-1.625.235.msi
  
  string = "C:/chef/cache/Dynatrace-OneAgent-Windows-1.181.539.msi"
  output:  Dynatrace-OneAgent-Windows-1.181.539.msi
  </code></pre>
  
  <p>This is what we tried </p>
  
  <ul>
  <li>("C:/chef/cache/Dynatrace-OneAgent-Windows-/\d.\d+.\d+/.msi").split('/')[3] </li>
  <li>("C:/chef/cache/Dynatrace-OneAgent-Windows-'/\d.\d+.\d+/'.msi").split('/')[3] </li>
  <li>("C:/chef/cache/Dynatrace-OneAgent-Windows-'\d.\d+.\d+'.msi").split('/')[3] </li>
  <li>("C:/chef/cache/Dynatrace-OneAgent-Windows-'(\d.\d+.\d+').msi").split('/')[3] </li>
  <li>("C:/chef/cache/Dynatrace-OneAgent-Windows-('/\d.\d+.\d+/').msi").split('/')[3] </li>
  <li>("C:/chef/cache/Dynatrace-OneAgent-Windows-('\d.\d+.\d+').msi").split('/')[3]</li>
  </ul>