Remove Non Errors from Logs

/ Published in: Regular Expression
Save to your folder(s)

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

Copy this code and paste it in your HTML
  1. ^(?!(?:ERROR)).*\s*

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.