Hi
Thanks for your request.
- Of course this doesn’t works properly. In regular expressions “?“makes the preceding item optional. So for example the following regex “abc?” matches “ab” or “abc”.
That’s why I use in my example RegularExpressions.Regex.Escape(”?”).
Please see the following link to learn more about regular expressions.
http://www.regular-expressions.info/reference.html - Run JoinRunsWithSameFormatting method for a whole document. You can do this directly after opening.
Best regards.