I am trying to use regex to find a string within a string with a format of a program release number as "1.16.5" for example. Dim Str as String = "automaticdoors_1.16.5-1.4.jar" I need to return only the "1.16.5" Unfortunately, Regex formats are difficult for me to figure out.
Code:
    Private Function GetMatch(Str As String) As String 
Dim V As String Dim M As Match = Regex.Match(Str, "\d{2}") 'this found online only returns 2 digit numbers