Regular Expressions 101

Library entries

Windows Bitvise SSH Server Event Log

Vote

0

Regular Expression
pcre2

/
\n\s\sname:\sI_LOGON_AUTH_FAILED\n[\s\S]*?\s\ssession\n[\s\S]*?\s\s\s\sremoteAddress:\s(?<ipaddress>.*?):[0-9]*\n[\s\S]*?\s\sauthentication\n[\s\S]*?\s\s\s\suserName:\s(?<username>.*)
/
i

Description

Loading markdown...
Submitted by paprikar - 12 days ago