Regular Expressions 101

Redis output

Open Workspace
  • Python
  • Match
1

Regular Expression

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 provided.

Submitted by Anonymous