in reply to New to perl and regex
Hi, MarvC, and welcome to PerlMonks!
Do you have a sample string you can share that you're trying to match? Also, help me understand what ...words saved in a buffer... means.