my $ID = 0123456; if ($ID =~ /\d{5,7}/ { do this... } [download]
In reply to Re: specific numbers of digits by lacertus in thread specific numbers of digits by emichswimr