Yeah, this usually happens with non-breaking spaces (U+00A0) or other Unicode space characters that look invisible but behave differently from normal spaces.
Using \xA0 in regex was the right fix 👍
If you face this again, you can:
Use \x{00A0} or \s to detect space variants Check in hex editor to identify exact character Then replace all in one goAlso, if you’re unsure which invisible character it is, you can test different ones using tools like espaço invisível before applying them in your editor.