Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
^\d{4}-\d{2}-\d{2}\s+\S+\s\S+\sERROR.*?\n\d{4}-\d{2}-\d{2}
"
gsm

Description

regex to consider exceptions in log4j

Submitted by anonymous - 10 years ago