hi,

i have string like this
"2011/05/25 07:24:58 -0700 PDT"  i need to match "2011/05/25"
i wrote reg ex like this: ^\d\d\d\d//\d\d/\d\d$ but it is not working 

code is like this 


$lin = "2011/05/25 07:24:58 -0700 PDT";
$lin =~ m/^\d\d\d\d//\d\d/\d\d$/;
print "$lin\n";

plz suggest 

Reply via email to