my $regex1 = qr{(hello)}; print $1 if 'hello there!' =~ $regex1;