1
如何獲取名稱?Visual Basic 2013正則表達式
「你好名稱!」
Dim r As New Regex("Hello (.*)! :)")
Dim matches As MatchCollection = r.Matches(Chat)
For Each m As Match In matches
MsgBox("Hi " & m.ToString & " and welcome back!")
Next
(聊天是最後Chatmessage)