in reply to split question

put the delimiter (here: one or more digits) in parentheses, that also returns the delimiters:
my $str = "4sheet1rev11"; my @arr = split(/(\d+)/, $str);
note, that you have an empty string at the beginnig of the array, since your string starts with a digit.

cheers
sc