$maxrate[0] =~ s/.*?(\d+)$/$1/;