Quote:
Originally Posted by chaot
Please provide another explanation on how to do this. 
|
Hmm. I'm not sure I can say it any more clearly, but here goes in baby steps:
1) Select the mis-spaced text and press Ctrl-Shift-M (or Search->Mark Selected Text if you don't like using the keyboard). The search range dropdown (bottom line of the search panel) should change to say "Marked text" when you do this.
2) In the "Mode" dropdown to the left of the search range, select "regex function".
3) Press the "create/edit" button next to the "function" dropdown.
4) Paste in the code I gave you.
5) Put "." (without the quotes) in the "Find" box at the top.
6) Press the button marked "Replace all".
7) Change the mode from "regex function" to Regex.
8) Enter "&#\d+;" in the Find box (without the quotes).
9) Press "Find" and look at what it's selected. Does it correspond to a visible character in the preview panel, or what you remember of the original text? If not, delete it and see what happens. Otherwise, replace it with whatever character it should be (whatever it was before you started). You can of course look up the numeric entity code to find out what character it is (just ask Google).
10) Repeat (9) until you get to the end of the problematic text.