내가이 정규식이 그룹의 대표 "NOT"로 :정규식은
<(\d+)>(\w+\s\d+\s\d+(?::\d+){2})\s([\w\/\.\-]*)(.*)
내가하고 싶은 것은 반환하는 것입니다 (일치하지 않음) 세 번째 그룹은 "MSWinEventLog"과 "일치"리턴 할 경우 FALSE 나머지는.
<166>Apr 28 10:46:34 AMC the remaining phrase
<11>Apr 28 10:46:34 MSWinEventLog the remaining phrase
<170>Apr 28 10:46:34 Avantail the remaining phrase
<171>Apr 28 10:46:34 Avantail the remaining phrase
<172>Apr 28 10:46:34 AMC the remaining phrase
<173>Apr 28 10:46:34 AMC the remaining phrase
<174>Apr 28 10:46:34 Avantail the remaining phrase
<175>Apr 28 10:46:34 AMC the remaining phrase
<176>Apr 28 10:46:34 AMC the remaining phrase
<177>Apr 28 10:46:34 Avantail the remaining phrase
<178>Apr 28 10:46:34 AMC the remaining phrase
<179>Apr 28 10:46:34 Avantail the remaining phrase
<180>Apr 28 10:46:34 Avantail the remaining phrase
어떻게 정규식 그룹 ([\w\/\.\-]*)
에서 "하지 'MSWinEventLog
'"를 넣어?
참고 :
는 위
하하 이것은 내가 원하는 정확한 답변입니다. 어쨌든 고맙습니다. –