Regex - Ignore lines with matching text
Posted
by codem
on Stack Overflow
See other posts from Stack Overflow
or by codem
Published on 2010-04-09T17:26:20Z
Indexed on
2010/04/09
17:33 UTC
Read the original article
Hit count: 389
regex
I need the RegEx command to get all the lines which DO NOT have the job name containing "filewatch". Any help will be greatly appreciated! Thanks.
STATUS: FAILURE JOB: i3-imds-dcp-pd-bo1-05-ftpfilewatcher
STATUS: FAILURE JOB: i3-cur-atmrec-pd-TD_FTP_Forecast_File_Del_M_Su
ALARM: JOBFAILURE JOB: i3-cur-atmrec-pd-TD_FTP_Forecast_File_Del_M_Su
STATUS: FAILURE JOB: i3-sss-system-heartbeat
ALARM: JOBFAILURE JOB: i3-sss-system-heartbeat
STATUS: FAILURE JOB: i3-chq-cspo-pd-batch-daily-renametable-fileok
STATUS: FAILURE JOB: i3-chq-cspo-pd-batch-daily-renametable-file
ALARM: JOBFAILURE JOB: i3-chq-cspo-pd-batch-daily-renametable-fileok
ALARM: JOBFAILURE JOB: i3-chq-cspo-pd-batch-daily-renametable-file
STATUS: FAILURE JOB: i3-imds-dcp-pd-bo1-35-filewatcher
STATUS: FAILURE JOB: i3-imds-dcp-pd-bo1-05-ftpfilewatcher
STATUS: FAILURE JOB: i3-imds-dcp-pd-bo1-35-filewatcher
STATUS: FAILURE JOB: i3-imds-dcp-pd-bo1-05-ftpfilewatcher
© Stack Overflow or respective owner