in reply to Re: Grab everything not matched by regexpin thread Grab everything not matched by regexp
Yes, I think that's it. Thanks very much; and for incidentally pointing out the use of $1, which I wasn't familiar with.