Separate special characters which need to be superscript.