sub scrapTag { foreach my $line (@htmlLines) { # replace with nothing. $line =~ s/]+)>//ig; } }