Regular Expressions 101

Community Patterns

Redis output

1

Regular Expression
Python

r"
^(\w+) (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}):(\d{1,5})\@\d+ ((?:myself,)?[\w?]+) ([\w-]+) ([\d]+) ([\d]+) ([\d]+) ([\w]+) ?([ \-\d]+)? ?(\[[\d]+-(?:>|<)-[\w]+\])?
"
gm

Description

no description available

Submitted by anonymous - 4 years ago