/// <summary>
/// 提取Html字符串中两字符之间的数据
/// </summary>
/// <param name="html">源Html</param>
/// <param name="s">开始字符串</param>
/// <param name="e">结束字符串</param>
/// <returns></returns>
public static string GetBetweenHtml(string html, string s, string e)
string html="苏飞论坛";
string str = HttpHelper.GetBetweenHtml(html, "苏", "论坛");
string html = @"提取数字{([1234])}";
string num = CsharpHttpHelper.HttpHelper.GetBetweenHtml(html, @"提取数字\{\(\[", @"\]\)\}");
Console.WriteLine(num);
欢迎光临 苏飞论坛 (http://www.sufeinet.com/) | Powered by Discuz! X3.4 |