Could anyone explain what's being replaced here?
I don't know if enough information is present to understand what's being searched and what's being replaced:
regEx.Pattern = "(\s) *(\S)"
regEx.Global = True
that = regEx.Replace(that, "$1$2")