#Google Sheets, 35 Bytes <!-- language-all: lang-gs --> Anonymous worksheet function that takes input from cell `A1` and outputs to the calling cell =RegExReplace(A1,"(\w)(\w)\b","$2$1