rnahi,
Yes I did - against the $msg in my post. The problem is my original understanding of the OP's requirements. I was thinking there would be multiple sentences in a given string and the first two words
of each sentence was required. There has been clarification of the requirements and you are correct - sorry.
Cheers - L~R