Replace?

  • Thread starter Thread starter canerata7
  • Start date Start date
C

canerata7

I have a really long text that I want to edit.Is it possible to make :

a) Making all sentences that are between (two paranthesis) italic? O
between [two brackets]? Or !between two exclamation points! ???

b) Making every single word that ends with : bold? Like this:

using Replace function or any other way? (I'm using Office XP
 
Hi canerata7,
I have a really long text that I want to edit.Is it possible to make :

a) Making all sentences that are between (two paranthesis) italic?

Edit > Replace, check "Use wildcards",
Find what: \(*\)
Replace with: ((leave empty; check "Format > Font, italic"))

Or between [two brackets]?

Find what: \[*\]

Or !between two exclamation points! ???


Find what: \!*\!

The reason for the backslashes is that all these characters, (, ), [, ], !
are special characters in wildcard searches.
So they have to be "escaped" with a \backslash.

b) Making every single word that ends with : bold? Like this:

Find what: <[! ]@:
"<" matches the start of a word, [! ]@ matches any text except spaces.

using Replace function or any other way? (I'm using Office XP)

You can find more info on wildcard replacements in the Word help, and in
http://word.mvps.org/FAQs/General/UsingWildcards.htm
Just experiment a bit, and you'll quickly get the hang of it.

Good luck,
Klaus
 
Back
Top