in reply to Matching first Letters of two words

Sure it is. perlretut has a nice introduction, you should read it, especially the part about backreferences.
  • Comment on Re: Matching first Letters of two words