s/ / /g;
In reply to Re: Replace a word in a line except for the last char of the word? by PhilHibbs in thread Replace a word in a line except for the last char of the word? by Ronnie Doorzon