这个没必要用正则取 s="sohu@163.com"; s.Substring(0, s.IndexOf("@"));
补充:asp.net教程,.Net开发
上一个:asp.net乱码解决方法下一个:CString, int, string, char*之间的转换