$webpage =~ s/.+<\/head>//sgi;