Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
Session (Start|Close): (\w{3} \w{3} \d{2} \d{2}:\d{2}:\d{2} \d{4})
"
gm

Description

Capturing Start/Close in IRC-logs

Submitted by Corpset - a year ago