How can we replace all captialized characters with a space before and keeping the captialized characters