in reply to Replacing \n even when it shouldn't be :/

s/[^\S\n]+/ /g

- tye