(?ms)applies the following effective flags to the remainder of the pattern: gms 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
Instancethe literal text Instance (case sensitive) \s+any whitespace character, repeated at least once
Namethe literal text Name (case sensitive) \s+any whitespace character, repeated at least once
:the literal : (5810 / 728 / 3A16)
\s+any whitespace character, repeated at least once
Group Instance_Name(?<Instance_Name>\w+) \w+any word character, repeated at least once
.*any character, repeated any number of times
Uptimethe literal text Uptime (case sensitive) \s+any whitespace character, repeated at least once
Group Uptime(?<Uptime>.+) .+any character, repeated at least once
Listeningthe literal text Listening (case sensitive) g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string