my $str = "2006-01-30 10:11:08.507"; if($str =~ /-(.*?)-/) { print "Month is $1\n"; } [download]
In reply to Re: Perl Exp - Retrieve value by saintmike in thread Perl Exp - Retrieve value by dani_cv_74