我正在尝试匹配从单词Problem Description
到Action Plan
后的新行的所有文本…此正则表达式不起作用。。。你知道吗
(?=.*\bProblem Description\b)(?=.*\bBusiness Impact\b)(?=.*\bTroubleshooting\b)(?=.*\bCurrent Status\b)(?=.*\bAction Plan\b).+
这是我试图匹配的文本…我想返回所有文本…有没有一种方法可以通过一系列关键字来匹配?你知道吗
Problem Description: Customer reported an problem with a card that was receiving a "broken chip error message".
Business Impact: Unknown
Troubleshooting: Collected the alarm history and the debug logs.
Current Status: Customer switched slots with several differnt cards and isolated it down to two defective cards.
Action Plan: once the completed form is returned will issue RMA.
为了得到所有的文字我不需要向后看…还需要点所有包括换行符。你知道吗
这适用于您的示例:
相关问题 更多 >
编程相关推荐