I'd like to help but I'm struggling to understand the issue that you are having, so maybe if you could clarify then you would get some responses.
In regex \s matches ANY whitespace type characters, but you mention 'no-break spaces'.
What do you mean by \s</p> cannot be replaced?
Could you give some examples of the problem and what you are trying to achieve? Maybe some snippets from your source would help.
|