?repeats the group contents below at most once:
name1:the literal text name1: (case sensitive) \s*any whitespace character, repeated any number of times
.*?any character (except for line terminators), repeated any number of times
\s*any whitespace character, repeated any number of times