正则表达式
Regex.IsMatch("审批意见书(编号)_xxx", "^" + "审批意见书(编号)",System.Text.RegularExpressions.RegexOptions.ExplicitCapture)括号出现在input中,想把括号当普通字符串处理,怎么弄?
感觉加上System.Text.RegularExpressions.RegexOptions.ExplicitCapture没起作用 --------------------编程问答-------------------- \(编号\)
*****************************************************************************
http://feiyun0112.cnblogs.com/ --------------------编程问答-------------------- 自己先顶一下 --------------------编程问答-------------------- input从textbox来,不知道()位置,用replace("(","").replace(")","")先处理一下道可以,万一有[],{}怎么办?有没有一劳用逸的方法? --------------------编程问答-------------------- System.Text.RegularExpressions.RegexOptions.ExplicitCapture是不是起类似作用的?怎么用? --------------------编程问答-------------------- \(.*\) --------------------编程问答-------------------- \(.*\)怎么用呀
补充:.NET技术 , ASP.NET