Try taking a look at perlretut.
In reply to Re: Regex doubts by mzedeler in thread Regex doubts by Anonymous Monk