Regular Expressions 101

Community Patterns

query.log

0

Regular Expression
Python

r"
(?i)^([0-9-]+)T([0-9:]+)-([0-9:]+) ([a-z0-9]+) ([a-z0-9]+)\[([0-9]+)\]: client ([0-9a-f.:]+)#([0-9]+) \((.*?)\): query: (.*?) ([a-z]+) ([a-z0-9]+) ([-+])([a-z]+)* \((.*?)\)
"
gm

Description

no description available

Submitted by anonymous - 5 years ago