in reply to Re: Re: Drop middle part in a substitutionin thread Drop middle part in a substitution
As for newlines in filenames: I definitely didn't think of that.