日期:2014-05-18  浏览次数:20446 次

还是求一正则,大家帮帮忙
<tr> <td> 姓名: </td> <td> 宋志强&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a   href= "WriteMail.asp?realname=宋志强&email=songzhiqiang198611@163.com "> <font   class= "font10_red "> 留言给该校友> > </font> </a> </td> </tr>
取出 "&email= "后的email地址,我对正则一窍不通,麻烦大家了

------解决方案--------------------
try

string result = " ";
Match m = Regex.Match(yourStr, @ "&email=(? <email> [^ " "> ]*) ", RegexOptions.IgnoreCase);
if (m.Success)
result = m.Groups[ "email "].Value;