Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在RegularExpressions.Regex尝试匹配以下文本:
RegularExpressions.Regex
(X12345 5/10/2012 21:32) - (X12345 5/14/2012 21:32) - summary text 123
我想删除字符串开头括号中的任何一系列值(包括存在的任何连字符)。一旦遇到不在括号中的文本,我想停止匹配并仅返回不匹配的内容。
例如,我希望只看到从正则表达式操作返回的“摘要文本 123”。
谢谢你的帮助!
替换此模式:
^\s*(\([^)]*\)[\s-]*)+[\s-]*
一无所有。
我知道这个问题之前在这里被问过,但是,那是 2 年前,我希望从那以后有一些更新。
2 jquery - ASP.NET MVC3 和 jQuery.jTable / Microsoft JScript 运行时错误:无法获取属性“长度”的值:对象为空或未定义