in reply to how to get the number of times a pattern matched

I asked this question a while back, and got some very good answers.
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print
  • Comment on Re: how to get the number of times a pattern matched