Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-17-2014, 09:30 AM
gjr1969gjr gjr1969gjr is offline Need help with find/replace action Windows Vista Need help with find/replace action Office 2007
Novice
Need help with find/replace action
 
Join Date: Nov 2014
Posts: 1
gjr1969gjr is on a distinguished road
Red face Need help with find/replace action

Hi everyone


Hope I am posting this in the right place. I really, really need help. I have several hundred pages. I have lines that are in bold and italic like this:

Who are these foreign investors?

What I need to do is change each line that is in Italic and Bold to having brackets around it, like this

[Who are these foreign investors?]

Is there any possible way to do this with find/replace?
I would really, really appreciate any thoughts!
Thanks!
Greg
Reply With Quote
  #2  
Old 11-17-2014, 12:24 PM
Ulodesk Ulodesk is offline Need help with find/replace action Windows 7 64bit Need help with find/replace action Office 2013
Word 2013 Expert Cert
 
Join Date: Sep 2009
Location: Virginia
Posts: 866
Ulodesk is on a distinguished road
Default try this

You may wish to work on a copy of your document, but this is working for me:
In find:
(*)^13

In replace:
[\1]^p

Try one at a time. If it's working, use Replace all.

^13 is used for a paragraph break in the Find.
\1 means replace what was found.

Best,
Ulodesk
Reply With Quote
  #3  
Old 11-18-2014, 12:49 AM
eNGiNe eNGiNe is offline Need help with find/replace action Windows 7 32bit Need help with find/replace action Office 2010 64bit
Expert
 
Join Date: Jan 2012
Location: Brussels [BE]
Posts: 746
eNGiNe is on a distinguished road
Default

What would the s/r terms be if the bold/ital entries were styled? Reading this post, I realise that this handy 'wrap found text in square brackets' is something I could do in a text editor but have never stopped to think about doing in Word.
Reply With Quote
  #4  
Old 11-18-2014, 03:11 PM
Ulodesk Ulodesk is offline Need help with find/replace action Windows 7 64bit Need help with find/replace action Office 2013
Word 2013 Expert Cert
 
Join Date: Sep 2009
Location: Virginia
Posts: 866
Ulodesk is on a distinguished road
Default Style

Well, Paul Edstein and others may know better, but the same dropdown in the F/R dialogue that lists Font, lists Style. Apply relevant style to each.
Reply With Quote
  #5  
Old 11-18-2014, 04:09 PM
macropod's Avatar
macropod macropod is offline Need help with find/replace action Windows 7 64bit Need help with find/replace action Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Ulodesk View Post
the same dropdown in the F/R dialogue that lists Font, lists Style. Apply relevant style to each.
Exactly. The F/R only becomes an issue if you want the square brackets to be formatted differently.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with find/replace action Find what box in Find and replace limits the length of a search term Hoxton118 Word VBA 7 06-10-2014 05:05 AM
Find/Find and Replace Loop Tango Mike Word 3 04-20-2014 02:47 PM
Need help with find/replace action Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM
Need help with find/replace action Help with find and replace or query and replace shabbaranks Excel 4 03-19-2011 08:38 AM
How to link an action on one slide on a powerpoint with the same action on another slevinmj PowerPoint 0 02-24-2011 05:38 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:37 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft