my @db_list3 = $text_two =~ /$start(.*?)$end/gi; my $matches3 = @db_list3;