Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2015-10-12 15:05
Flavor·Python

r"
^(\S+) (\S+) (\S+) \[([\w:/]+\s[+\-]\d{4})\] "(\S+) (\S+)\s*(\S*)("| ") (\d{3}) (\S+)
"
Open regex in editor

Description

Used in lab2 spark for pyspark access log pattern recognition

Submitted by anonymous