\ba Unicode word boundary
\w+a Unicode word character, repeated at least once
\s+a Unicode whitespace character, repeated at least once
\1the text saved by group 1
\ba Unicode word boundary
g modifier: global. Finds all matches instead of stopping after the first
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters