Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
user\ (?'user'.+)\ logged\ in\ from\ (?'from_ip'.+)\ via\ (?'tty'.+)$
/
gm

Description

events of logging in in Mikrotik router syslog

Submitted by anonymous - 5 years ago