抢分了换行的正则表达式是什么(文本里面的换行)
tr>
<td>
象tr和td的换行用什么

解决方案 »

  1.   

    做个测试,真的就是\n代码如下:
    string sourceString = @"<tr>
    <td>";
    string pattern = @"[^\n]*";
    System.Text.RegularExpressions.Match result = Regex.Match(sourceString,pattern,System.Text.RegularExpressions.RegexOptions.IgnoreCase|System.Text.RegularExpressions.RegexOptions.Multiline);

    if (result.Success)
    {
    //提示正确信息
    //WL("正确:" + result.Groups[1].Value);//输出
    WL("正确:" + result.Value);//输出
    }
    else
    {
    //提示错误信息
    WL("错误!");//输出
    }
      

  2.   

    http://community.csdn.net/Expert/topic/5689/5689921.xml?temp=.6821253
    解决这个的给分
      

  3.   

    你想做什么吧,绝大部分情况下,用\s就行了tr>\s*<td>