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


Comments


You need to login to view comments.