pattern = "^([0-9a-zA-Z]([-\\.\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\w]*[0-9a-zA-Z]\\.)+[a-zA-Z]{2,9})$"; oo = dotNetclass "System.Text.RegularExpressions.Regex" oo.IsMatch "feedback@net-informatins.com" pattern --返回对错
2012-05-28