my $pattern = qr{\+(?=\d{6})}; $string =~ /$pattern/; [download]
In reply to Re: Pattern mattching by sh1tn in thread Pattern mattching by Anonymous Monk