Posted By

gamerzfuse on 04/16/13


regex errors logs

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Remove Non Errors from Logs

 / Published in: Regular Expression

Removes any lines from the file that don't start with "ERROR"

  1. ^(?!(?:ERROR)).*\s*

Report this snippet  

You need to login to post a comment.