$ perl -e '$str = "+000000"; $match = $str =~ /^\+\d{6}/; print "MATCH\n" if($match);' [download]
MATCH [download]
In reply to Re: Pattern mattching by monkfan in thread Pattern mattching by Anonymous Monk