public static string Midstr(string sourse, string s, string e) { Regex rg = new Regex("(?<=(" + s + "))[.\\s\\S]*?(?=(" + e + "))", RegexOptions.Multiline | RegexOptions.Singleline); return rg.Match(sourse).Value; }
取出字符串之间的字符串
猜你喜欢
转载自www.cnblogs.com/huanyun/p/11350555.html
今日推荐
周排行