Regular Expressions 101

Community Library

Community Library Entry

2

Regular ExpressionOpen Workspace

/
^(\S*).*\[(.*)\]\s"(\S*)\s(\S*)\s([^"]*)"\s(\S*)\s(\S*)\s"([^"]*)"\s"([^"]*)"$
/

Description
Created·2015-09-14 18:22
Type·Match
Flavor·PCRE (Legacy)

This breaks down an Apache2 access log into 9 parts. I use this for analyzing content in my webserver logs.

Submitted by Kevin Loverde
Open Workspace