in reply to Applying regex to each line in a record.

Hi Choroba and Tybalt,

Thank you for the answer!! Truly amazing. It gets rid of the "m" vs "s" confusion by simply not using them!!

I was breaking my head on this for quite a while, and you guys have given such an elegant answer in no time. Some times makes me feel like giving up scripting, but it's too fun and productive. Besides, I still haven't been shooed away from here, so till then I'll stick around. :D