Regular Expressions 101

Community Patterns

1...45678...902

Community Library Entry

1

Regular Expression
Python

r"
^([^\s]+) ([^\s]+) ([^\s]+) \[([\w:/]+\s[+\-]\d{4})\] "(\S+) /.*() ([^\\"]+)" (\d{3}) (\S+)
"
g

Description

Apache Web server log file format following the standard

Submitted by Basil Tungekar - 9 years ago