in reply to Re: Re: Re: Strip user-defined words with regexp
in thread Strip user-defined words with regexp

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

  • Comment on Re: Re: Re: Re: Strip user-defined words with regexp