Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
New Logon:.*?Account Name:\s+([^\s]+)
/
gm
Input 1
1
New
Opcode=Info Message=Group membership information. Subject: Security ID: \NULL SID Account Name: - Account Domain: - Logon ID: 0x0 Logon Type: 3 New Logon: Security ID: MATRIZ\uxxxx4 Account Name: uxxxx4 Account Domain: XPTO.COM Logon ID: 0x118C98624
Substitution
Opcode=Info Message=Group membership information. Subject: Security ID: \NULL SID Account Name: - Account Domain: - Logon ID: 0x0 Logon Type: 3 New Logon: Security ID: MATRIZ\uxxxx4 Account Name: uxxxx4 Account Domain: XPTO.COM Logon ID: 0x118C98624