(?i)applies the following effective flags to the remainder of the pattern: gmi i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters
\ba Unicode word boundary
Group 1(Devices|Community String) Devicesthe literal text Devices (case insensitive) 2nd AlternativeCommunity String Community Stringthe literal text Community String (case insensitive) \ba Unicode word boundary
\s*a Unicode whitespace character, repeated any number of times
-the literal - (4510 / 558 / 2D16)
\s*a Unicode whitespace character, repeated any number of times
+matches at least one character from the set below:
\wa Unicode word character
,the literal , (4410 / 548 / 2C16)
\/the literal / (4710 / 578 / 2F16)
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