Not sure I can define it better than I already did. I want to search for text, determine if it has a space on either side, and if it doesn't, to add a space unless the character after the last character of the target is one of the special characters shown above. And this should work wherever the target is in the document, including the beginning of a paragraph.
|