^start of string
\w*any word character, repeated any number of times
.any character (except for line terminators)
.any character (except for line terminators)
\w*any word character, repeated any number of times
$end of string, or before its final line terminator
g modifier: global. Finds all matches instead of stopping after the first