in reply to Re^2: reg expression
in thread reg expression

sorry guys .. I am trying to learn based on examples , instead of reading books .

Books contain examples, and explanations of examples :)

perlintro, perlretut, perlrequick are all about examples