Why would you want to replace that? A double space would be rendered as one anyway. That is, unless at least one of the spaces is not a real space, but for example a non-breakable space. In that case I am not sure the proposed regex would catch those.
|