tengo unas pocas expresiones regulares:expresión regular para representar "NO" en un grupo
<(\d+)>(\w+\s\d+\s\d+(?::\d+){2})\s([\w\/\.\-]*)(.*)
Lo que quiero hacer es volver FALSO (no emparejado) si el tercer grupo es "MSWinEventLog" y que vuelve "emparejado" para el resto.
<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
¿Cómo poner "NO 'MSWinEventLog
'" en el grupo de expresiones regulares ([\w\/\.\-]*)
?
Nota:
La segunda frase anterior debería devolver "no emparejado"
Haha Esta es la respuesta exacta que quiero. De todas maneras, muchas gracias. –