Find and Replace Formatting

M

maryliz

Can somebody help me find a safer way to remove all double underlining in a
document without removing the the words as well, which happened when I tried
it.

In the find box, I didn't put words; I just went to the font format dialog
box, chose double underline, and in the replace box, nothing. When I clicked
replace all, to my surprise, whole paragraphs were gone. What stupid move
did I make there?

You've made the word processing world a better place! Thank you!
 
J

Jay Freedman

maryliz said:
Can somebody help me find a safer way to remove all double
underlining in a document without removing the the words as well,
which happened when I tried it.

In the find box, I didn't put words; I just went to the font format
dialog box, chose double underline, and in the replace box, nothing.
When I clicked replace all, to my surprise, whole paragraphs were
gone. What stupid move did I make there?

You've made the word processing world a better place! Thank you!

Starting over from the original... Do everything else the same, but in the
Replace With box, put in the code

^&

If you have trouble remembering that, first click the More button to expand
the dialog. Put the cursor in the Replace With box, then click the Special
button and choose "Find What Text". That will insert the same code in the
box.

The idea is that with this code, whatever text is matched by the formatting
of the Find What will be kept but its formatting will be replaced. When you
left the Replace With box empty, Word interpreted that as "replace the
matched text with nothing".

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
K

Klaus Linke

maryliz said:
Can somebody help me find a safer way to remove all double underlining in
a
document without removing the the words as well, which happened when I
tried
it.

In the find box, I didn't put words; I just went to the font format dialog
box, chose double underline, and in the replace box, nothing. When I
clicked
replace all, to my surprise, whole paragraphs were gone. What stupid move
did I make there?

You've made the word processing world a better place! Thank you!


Hi maryliz,

Put "Format > Font > no underline" in "Replace with" (...more quickly done
by hitting Ctrl+Shift+D twice).

Else as you found, if you have neither any text nor any formatting in
"Replace with", whatever you search for will be replaced by nothing.

Regards,
Klaus
 
M

maryliz

Thanks so much, Jay! I feel as if you folks in this group are practically
family, because what you've written has helped me more than I can possibly
say to become a more capable word processor. Bless you!
 
M

maryliz

Klaus, this certainly isn't the first time your posts to this group have
helped me immensely, and it won't be the last. I thank you for every single
word!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top