Jump to content

Please read the Forum Rules before posting.

Photo
- - - - -

Word 2010 Search/Replace Question


  • Please log in to reply
3 replies to this topic

#1 Kris Hendricks

Kris Hendricks

    New to Bible Support

  • Members
  • Pip
  • 8 posts
  • LocationCalifornia
Offline

Posted 05 October 2014 - 01:43 AM

Hi all,

 

I have a bible in RTF format that I am editing using Word 2010. I would like to change all italicized words to being bracketed instead. Is it possible to do that using the Search/Replace function in Word? If so, please give me an idea of how it might be done. Thank you...

 



#2 Katoog

Katoog

    e-Sword Fanatic

  • Members (T)
  • PipPipPipPipPip
  • 1,000 posts
Offline

Posted 05 October 2014 - 03:37 AM

Make first a backup.

Open the RTF file with Notepad.

and replace all (by Edit replace or Ctrl+H)

\i

[

and then

\i0

]

 

There is a space after \i0 .


Edited by Katoog, 05 October 2014 - 11:51 PM.

Restored Holy Bible 10 and the Restored Textus Receptus

http://rhb.altervista.org/homepage.htm


#3 Kris Hendricks

Kris Hendricks

    New to Bible Support

  • Members
  • Pip
  • 8 posts
  • LocationCalifornia
Offline

Posted 06 October 2014 - 12:44 AM

Thanks for the reply! I wasn't able to get your instructions to work, but it did give me a clue on how to do it in Word. For future reference, this is how I did it:

 

In the Find/Replace dialog box under Find, type <*>, select "Use wildcards", click on the Format button and select Font, then Italic and click OK.

 

Under Replace, type [^&] click on Format button, Font and Regular, then OK.

 

Then click on Replace all. This will put brackets around each italicized word and change the font from italic to regular, without harming the text. 

 

One problem remains; there are places where several words in a row were italicized and we now have separate brackets around each word such as: "[which] [they] [will]"

 

Under Find, type ] [

 

Under Replace, hit the Space bar once. Then click Replace all once again.

 

This will remove the interior brackets and put a space there, so using the above example, you end up with "[which they will]" which is the correct format. 

 

I did almost 20,000 replacements in a matter of seconds once I figured out these commands!



#4 JPG

JPG

    Bug Hunter

  • Moderators
  • 1,052 posts
Online

Posted 06 October 2014 - 02:20 AM

Good solution. It is a pity that MS falls short on giving all the info on advanced search and replace. One of their MVP's has produced a separate site giving a lot of information.

http://www.gmayor.co...g_wildcards.htm

 

Jon






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users




Similar Topics



Latest Blogs