xyz@yahoo.com
我只想从电子邮件地址中获取域名.我们可以用Regex来实现吗?
MailAddress address = new MailAddress("xyz@yahoo.com"); string host = address.Host; // host contains yahoo.com