\S+any character that is not Unicode whitespace, repeated at least once
:the literal : (5810 / 728 / 3A16)
\s*a Unicode whitespace character, repeated any number of times
Negated Character Class[^.]+ +matches at least one character outside the set below:
.the literal . (4610 / 568 / 2E16)
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