Imports System.Text.RegularExpressions
Module Module1
Sub Main()
Dim s As String = "java 'vb.net' python 'php' c++"
Dim matchcollection As MatchCollection = Regex.Matches(s, "'(.*?)'")
For Each mc As Match In matchcollection
Dim g As Group = mc.Groups(1)
Console.WriteLine(g.Value)
Next
End Sub
End Module
' run:
'
' vb.net
' php