さて、私は現在、これら2つのことの間に単語/テキストを入れようとしています
: と !
私はこれを試しました
Dim nick As String = String.Empty
Dim p = ":(?<ircnick>.*?)!"
Dim Matches = Regex.Matches(mail, p, RegexOptions.IgnoreCase Or RegexOptions.Singleline)
If Matches IsNot Nothing AndAlso Matches.Count > 0 Then
For Each Match As Match In Matches
If Match.Groups("info").Success Then
nick = (Match.Groups("ircnick").Value)
End If
Next
End If
何も表示されません。あなたたちが私のためにこのコードを修正することができれば、私は幸せになるでしょう:D。