Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Conditional replacing?
Hi all, I was wondering, is there any way to replace a string in Word only if
it has a space before it, like if I had: THIS is a really bad example I made, I'd think. and I wanted to replace "I" with "#I", but only if it was at the beginning of the word, so it would be: THIS is a really bad example #I made, #I'd think. is there a way to do that? Also, if I have something like (the dollar sign is purposely there as a marker): Linda's sisters'$ names were Mary and 'Liz' would there be a way to delete apostrophes only if they had a space after them? Thanks, I know this is probably a hard question! Jezzica85 |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Conditional replacing?
You would use EditReplaceMore. Check match case.
Type a space and I in the find what field. Type #I in the replace with field and click replace all. Type ' and a space in the find what field. Type a space in the replace with field and click replace all. -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. jezzica85 wrote: Hi all, I was wondering, is there any way to replace a string in Word only if it has a space before it, like if I had: THIS is a really bad example I made, I'd think. and I wanted to replace "I" with "#I", but only if it was at the beginning of the word, so it would be: THIS is a really bad example #I made, #I'd think. is there a way to do that? Also, if I have something like (the dollar sign is purposely there as a marker): Linda's sisters'$ names were Mary and 'Liz' would there be a way to delete apostrophes only if they had a space after them? Thanks, I know this is probably a hard question! Jezzica85 |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Conditional replacing?
Thanks Greg, hi again by the way! I hope you got my note thanking you before
for all your help. "Greg Maxey" wrote: You would use EditReplaceMore. Check match case. Type a space and I in the find what field. Type #I in the replace with field and click replace all. Type ' and a space in the find what field. Type a space in the replace with field and click replace all. -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. jezzica85 wrote: Hi all, I was wondering, is there any way to replace a string in Word only if it has a space before it, like if I had: THIS is a really bad example I made, I'd think. and I wanted to replace "I" with "#I", but only if it was at the beginning of the word, so it would be: THIS is a really bad example #I made, #I'd think. is there a way to do that? Also, if I have something like (the dollar sign is purposely there as a marker): Linda's sisters'$ names were Mary and 'Liz' would there be a way to delete apostrophes only if they had a space after them? Thanks, I know this is probably a hard question! Jezzica85 |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Conditional replacing?
Glad to help. Always appreciate the notes of thanks.
-- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. jezzica85 wrote: Thanks Greg, hi again by the way! I hope you got my note thanking you before for all your help. "Greg Maxey" wrote: You would use EditReplaceMore. Check match case. Type a space and I in the find what field. Type #I in the replace with field and click replace all. Type ' and a space in the find what field. Type a space in the replace with field and click replace all. -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. jezzica85 wrote: Hi all, I was wondering, is there any way to replace a string in Word only if it has a space before it, like if I had: THIS is a really bad example I made, I'd think. and I wanted to replace "I" with "#I", but only if it was at the beginning of the word, so it would be: THIS is a really bad example #I made, #I'd think. is there a way to do that? Also, if I have something like (the dollar sign is purposely there as a marker): Linda's sisters'$ names were Mary and 'Liz' would there be a way to delete apostrophes only if they had a space after them? Thanks, I know this is probably a hard question! Jezzica85 |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Tricky: Word Table Conditional Formatting | Tables | |||
Mail Merge from Excel - conditional field choice? | Mailmerge | |||
Does Word support conditional text? | Microsoft Word Help | |||
Conditional Slash Similar to Conditional Hyphen? | Page Layout | |||
Conditional inclusion of WordArt? | Mailmerge |