(?ms)applies the following effective flags to the remainder of the pattern: ms m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string
s modifier: single line. Allows a dot to match line terminators
<Eventthe literal text <Event (case sensitive) Negated Character Class[^>]* *matches any number of characters outside the set below:
>the literal > (6210 / 768 / 3E16)
>the literal > (6210 / 768 / 3E16)
.*?any character, repeated any number of times
<System>the literal text <System> (case sensitive) .*?any character, repeated any number of times
<Providerthe literal text <Provider (case sensitive) \s+any whitespace character, repeated at least once
Name='the literal text Name=' (case sensitive) Group ProviderName(?<ProviderName>[^']*) Negated Character Class[^']* *matches any number of characters outside the set below:
'the literal ' (3910 / 478 / 2716)
'the literal ' (3910 / 478 / 2716)
\s+any whitespace character, repeated at least once
Guid='the literal text Guid=' (case sensitive) Group ProviderGuid(?<ProviderGuid>[^']*) Negated Character Class[^']* *matches any number of characters outside the set below:
'the literal ' (3910 / 478 / 2716)
'the literal ' (3910 / 478 / 2716)
.*?any character, repeated any number of times
<EventID>the literal text <EventID> (case sensitive) Group EventID(?<EventID>\d+) \d+a digit, repeated at least once
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
EventID>the literal text EventID> (case sensitive) .*?any character, repeated any number of times
<Version>the literal text <Version> (case sensitive) Group Version(?<Version>\d+) \d+a digit, repeated at least once
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Version>the literal text Version> (case sensitive) .*?any character, repeated any number of times
<Level>the literal text <Level> (case sensitive) \d+a digit, repeated at least once
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Level>the literal text Level> (case sensitive) .*?any character, repeated any number of times
<Task>the literal text <Task> (case sensitive) \d+a digit, repeated at least once
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Task>the literal text Task> (case sensitive) .*?any character, repeated any number of times
<Opcode>the literal text <Opcode> (case sensitive) Group Opcode(?<Opcode>\d+) \d+a digit, repeated at least once
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Opcode>the literal text Opcode> (case sensitive) .*?any character, repeated any number of times
<Keywords>the literal text <Keywords> (case sensitive) Group Keywords(?<Keywords>[^<]*) Negated Character Class[^<]* *matches any number of characters outside the set below:
<the literal < (6010 / 748 / 3C16)
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Keywords>the literal text Keywords> (case sensitive) .*?any character, repeated any number of times
<TimeCreatedthe literal text <TimeCreated (case sensitive) \s+any whitespace character, repeated at least once
SystemTime='the literal text SystemTime=' (case sensitive) Group SystemTime(?<SystemTime>[^']*) Negated Character Class[^']* *matches any number of characters outside the set below:
'the literal ' (3910 / 478 / 2716)
'the literal ' (3910 / 478 / 2716)
.*?any character, repeated any number of times
<EventRecordID>the literal text <EventRecordID> (case sensitive) Group EventRecordID(?<EventRecordID>\d+) \d+a digit, repeated at least once
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
EventRecordID>the literal text EventRecordID> (case sensitive) .*?any character, repeated any number of times
<Correlationthe literal text <Correlation (case sensitive) \s+any whitespace character, repeated at least once
ActivityID='the literal text ActivityID=' (case sensitive) Group ActivityID(?<ActivityID>[^']*) Negated Character Class[^']* *matches any number of characters outside the set below:
'the literal ' (3910 / 478 / 2716)
'the literal ' (3910 / 478 / 2716)
.*?any character, repeated any number of times
<Executionthe literal text <Execution (case sensitive) \s+any whitespace character, repeated at least once
ProcessID='the literal text ProcessID=' (case sensitive) Group ProcessID(?<ProcessID>\d+) \d+a digit, repeated at least once
'the literal ' (3910 / 478 / 2716)
\s+any whitespace character, repeated at least once
ThreadID='the literal text ThreadID=' (case sensitive) Group ThreadID(?<ThreadID>\d+) \d+a digit, repeated at least once
'the literal ' (3910 / 478 / 2716)
.*?any character, repeated any number of times
<Channel>the literal text <Channel> (case sensitive) Group Channel(?<Channel>[^<]*) Negated Character Class[^<]* *matches any number of characters outside the set below:
<the literal < (6010 / 748 / 3C16)
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Channel>the literal text Channel> (case sensitive) .*?any character, repeated any number of times
<Computer>the literal text <Computer> (case sensitive) Group Computer(?<Computer>[^<]*) Negated Character Class[^<]* *matches any number of characters outside the set below:
<the literal < (6010 / 748 / 3C16)
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Computer>the literal text Computer> (case sensitive) .*?any character, repeated any number of times
<EventData>the literal text <EventData> (case sensitive) .*?any character, repeated any number of times
<Datathe literal text <Data (case sensitive) \s+any whitespace character, repeated at least once
Name='SubjectUserSid'>the literal text Name='SubjectUserSid'> (case sensitive) Group SubjectUserSid(?<SubjectUserSid>[^<]*) Negated Character Class[^<]* <the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Data>the literal text Data> (case sensitive) .*?any character, repeated any number of times
<Datathe literal text <Data (case sensitive) \s+any whitespace character, repeated at least once
Name='SubjectUserName'>the literal text Name='SubjectUserName'> (case sensitive) Group SubjectUserName(?<SubjectUserName>[^<]*) <the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Data>the literal text Data> (case sensitive) .*?any character, repeated any number of times
<Datathe literal text <Data (case sensitive) \s+any whitespace character, repeated at least once
Name='SubjectDomainName'>the literal text Name='SubjectDomainName'> (case sensitive) Group SubjectDomainName(?<SubjectDomainName>[^<]*) <the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Data>the literal text Data> (case sensitive) .*?any character, repeated any number of times
<Datathe literal text <Data (case sensitive) \s+any whitespace character, repeated at least once
Name='SubjectLogonId'>the literal text Name='SubjectLogonId'> (case sensitive) Group SubjectLogonId(?<SubjectLogonId>[^<]*) <the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Data>the literal text Data> (case sensitive) .*?any character, repeated any number of times
<Datathe literal text <Data (case sensitive) \s+any whitespace character, repeated at least once
Name='TargetUserSid'>the literal text Name='TargetUserSid'> (case sensitive) Group TargetUserSid(?<TargetUserSid>[^<]*) <the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Data>the literal text Data> (case sensitive) .*?any character, repeated any number of times
<Datathe literal text <Data (case sensitive) \s+any whitespace character, repeated at least once
Name='TargetUserName'>the literal text Name='TargetUserName'> (case sensitive) Group TargetUserName(?<TargetUserName>[^<]*) <the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Data>the literal text Data> (case sensitive) .*?any character, repeated any number of times
<Datathe literal text <Data (case sensitive) \s+any whitespace character, repeated at least once
Name='TargetDomainName'>the literal text Name='TargetDomainName'> (case sensitive) Group TargetDomainName(?<TargetDomainName>[^<]*) <the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Data>the literal text Data> (case sensitive) .*?any character, repeated any number of times
<Datathe literal text <Data (case sensitive) \s+any whitespace character, repeated at least once
Name='TargetLogonId'>the literal text Name='TargetLogonId'> (case sensitive) Group TargetLogonId(?<TargetLogonId>[^<]*) <the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Data>the literal text Data> (case sensitive) .*?any character, repeated any number of times
<Datathe literal text <Data (case sensitive) \s+any whitespace character, repeated at least once
Name='LogonType'>the literal text Name='LogonType'> (case sensitive) Group LogonType(?<LogonType>[^<]*) <the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Data>the literal text Data> (case sensitive) .*?any character, repeated any number of times
<Datathe literal text <Data (case sensitive) \s+any whitespace character, repeated at least once
Name='EventIdx'>the literal text Name='EventIdx'> (case sensitive) Group EventIdx(?<EventIdx>[^<]*) <the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Data>the literal text Data> (case sensitive) .*?any character, repeated any number of times
<Datathe literal text <Data (case sensitive) \s+any whitespace character, repeated at least once
Name='EventCountTotal'>the literal text Name='EventCountTotal'> (case sensitive) Group EventCountTotal(?<EventCountTotal>[^<]*) <the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Data>the literal text Data> (case sensitive) .*?any character, repeated any number of times
<Datathe literal text <Data (case sensitive) \s+any whitespace character, repeated at least once
Name='GroupMembership'>the literal text Name='GroupMembership'> (case sensitive) Group GroupMembership(?<GroupMembership>.*?) <the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Data>the literal text Data> (case sensitive) .*?any character, repeated any number of times
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
EventData>the literal text EventData> (case sensitive) .*?any character, repeated any number of times
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
Event>the literal text Event> (case sensitive)