concatenate the capital letters that are followed by a space
I can think only of a 3-step solution (which looks ugly, but possibly it can be improved):
- replace all wanted spaces with, say, underscores:s/ \([A-Z][^ ]\)/_\1/g'
- remove all remaining spaces:s/ //g
- restore wanted spaces:s/_/ /g'
Something like that...