**asdfasdfsafsafhaisodfasoifhsa@@ 使用正则表达式怎么匹配? 中间的字符里面有换行的。谢谢! 立等结贴。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 bool FoundMatch = false;try { FoundMatch = Regex.IsMatch(SubjectString, "(?s)\\*\\*.*@@");} catch (ArgumentException ex) { // Syntax error in the regular expression} Regex reg=new Regex(@"(?<=\*\*).*?(?=@@)",RegexOptions.Singleline);string output=reg.Match(input).Value; 关于WPF中的Storyboard,求大神! 已知一个System.Type有没有办法进行强制转换 关于使用asp.net时写socket程序的问题 能否用水晶报表制作组织结构图 用户注册 与数据库用户之间的关系 初学C# 编程的郁闷 为什么我的C# 2005 没有datalist控件呢 用.net建了个cab包,那如何用程序将里面的内容释放到指定目录? 请教C#数据库的一点问题 C#制作字典 弱智问题:在C#中怎样销毁一个对象? C++中怎样调用.Net中的程序集
try {
FoundMatch = Regex.IsMatch(SubjectString, "(?s)\\*\\*.*@@");
} catch (ArgumentException ex) {
// Syntax error in the regular expression
}
string output=reg.Match(input).Value;