in reply to Removing dots
That's what I thought of too. See Re: Replace all occurrences but the last.