#1
|
|||
|
|||
Odd search and replace query
Hi guys and girls.
I have an odd thing I need to do. Basically I have a massive text where the author has used 'quote 1' 'quote 2' 'quote 3' etc. The publisher needs "quote 1" "quote 2" etc, etc. I can find everything with '*' and wildcard enables. However, I can't replace with "*", as that is what it gets replaced with, i.e. "*". In other words, I need to replace a caharcter at the beginning and end, but leave the text inbetween unchanged, said text being different each time. I've tried various \ escape strings in the replace, but it always either falls over or messes up. Anyone know? I'm sure it's possible! Last edited by macropod; 11-13-2012 at 02:11 PM. Reason: Inapproriate expression deleted. |
#2
|
||||
|
||||
A Find/Replace can be used, but you'll need to do it interactively so as to not confuse single closing quotes and apostrophes:
Find = ' Replace = "
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
IE automation: How to auto-click the first link on the search query page? | tinfanide | Excel Programming | 0 | 05-30-2012 11:02 PM |
Word Find and Replace Query | bthart | Word | 1 | 12-29-2011 12:45 AM |
Help with find and replace or query and replace | shabbaranks | Excel | 4 | 03-19-2011 08:38 AM |
Search Replace Copy | dblack7211 | Word | 0 | 05-05-2010 01:19 PM |
Search and Replace - Clear Search box | JostClan | Word | 1 | 05-04-2010 08:46 PM |