Uri Guttman <uri@perlhunter.com> writes: > you also quoted the whole regex in '' but included the // which are the > normal regex delimiters. remove the outer quotes. > and use the qr// form for regexes. > and you don't want the + after the \d as the {5,} is the count. you can't > have both types of repeat counts. > my $re = qr/^\d{5,}/ ; > > that should be all you need. It was and it works now! Thank you. MartinThread Previous | Thread Next