Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
\[[0-9]{4}-[0-9]{2}-[0-9]{2}\](\[(?:debug|warning|error)\]).*
"
gm

Description

[[0-9]{4}-[0-9]{2}-[0-9]{2}]([(?:debug|warning|error)]).*

Submitted by anonymous - 2 years ago