replacing double and triple dots