【www.gdgbn.com--正则表达式】

这个没必要用正则取
s="sohu@163.com";
s.Substring(0, s.IndexOf("@"));

([ww]+?)@[sS]+?

本文来源:http://www.gdgbn.com/aspjiaocheng/22292/