\w+a Unicode word character, repeated at least once
\s*a Unicode whitespace character, repeated any number of times
=the literal = (6110 / 758 / 3D16)
\s*a Unicode whitespace character, repeated any number of times
Group 2([^\s,](?:[^,]*[^\s,])?) Negated Character Class[^\s,] \sa Unicode whitespace character
,the literal , (4410 / 548 / 2C16)
Non-Capturing Group(?:[^,]*[^\s,])? ?repeats the group contents below at most once:
Negated Character Class[^,]* *matches any number of characters outside the set below:
,the literal , (4410 / 548 / 2C16)
Negated Character Class[^\s,] \sa Unicode whitespace character
,the literal , (4410 / 548 / 2C16)
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