You could try to use “find and replace” feature, set to consider regular expressions, and replace all no-space (x) char with x followed a space in a current selection.
Save it as a macro and apply in other parts of code.
https://10bestgame.com/instagram-cool-captions/