)
plus other formatting characters.
You are going to make three passes of your document using Find/Replace.
We will use excess paragraph marks in the example.
- First - Remove all double paragraph marks and replace them
with some garbage characters that you'll use as placeholders for where
you want the real paragraph marks.
- Second - Then you will find all the single paragraph marks
and replace them with a space.
- Finally - You will find all the placeholders and
replace them with the paragraph marks you do want.
Removing Unwanted
Characters
- Press Ctrl+H to open Find/Replace.
- In Find, type ^p^p, then press the TAB key.
(You get ^ by pressing Shift+6; you MUST use a lower case
p.)
- In Replace, type XXX. (XXX is the placeholder).
- Click Replace All.
- In Find, type ^p, press TAB, then in Replace
press the spacebar once.
- Click Replace All.
- In Find type XXX, press TAB, then in Replace
type ^p.
- Click Replace All.
All the excess paragraph marks should now be gone and you should
have a cleaner document.
If the text has line breaks, then substitute ^p with ^l
(that's lower case L for London).
To get rid of the > marks, type > in Find, and
then make sure there is nothing in Replace before clicking
Replace All.
If you have lots of documents with these unwanted formatting codes in
them, then it is quicker to record a macro and assign it to a keyboard
command. Then you'll only have to press a key or two and all these changes
will be made for you.