Dim email As String = " abc@qq.com "Dim reg As new System.Text.RegularExpressions.Regex("^\s*([A-Za-z0-9_-]+(\.\w+)*@(\w+\.)+\w{2,5})\s*$")Dim result As Boolean = reg.IsMatch(Email.Trim())msgbox(result)
c#的\\等价于foxtable的一个\