正規表現でマッチさせた文字列を取得する際の例。
どうもよく忘れるのでメモ。
Dim match As Match = Regex.Match("tagrget", "(?<name>.*)")
If match.Groups("name").Success = True Then
Debug.Print(match.Groups("name").Value)
End If
正規表現でマッチさせた文字列を取得する際の例。
どうもよく忘れるのでメモ。
Dim match As Match = Regex.Match("tagrget", "(?<name>.*)")
If match.Groups("name").Success = True Then
Debug.Print(match.Groups("name").Value)
End If