in reply to matching between 1 to 8 digits but not more
if ($Number =~ m/\d\d{8,}/) { print ("line has more than eight digits!\n"); } [download]