![]() |
#1
|
|||
|
|||
![]()
Hello, Forum;
I've got some massive documents to update and need to be able to change elements that fall into a pattern, while leaving text already in place untouched. For instance, I need to change the </p> tag in this statement: Tuesday: (This text will be different each time) </p> to Tuesday: (Variable Text) <br /> In the Find What field I put: Tuesday:*\</p\> Which found all instances of Tuesday: (Variable Text) </p> But when I put this in the replace field: Tuesday:*<br /> the (Variable Text) was replaced in each instance by the asterisk. I need to identify the text string by the word "Tuesday" and the "</p>" tag, replace the "</p>" tag, but leave the variable text between the two intact. I can't seem to do it. Thanks for any help. Cayce |
#2
|
||||
|
||||
![]()
Try a wildcard Find/Replace, where:
Find = (Tuesday:*)\</p\> Replace = \1<br />
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
Tags |
find & replace, wildcards |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Hoxton118 | Word VBA | 7 | 06-10-2014 05:05 AM |
Change characters outside a wildcard while keeping wildcard results | nymusicman | Word VBA | 2 | 04-10-2014 08:17 AM |
![]() |
zhangzujin361 | Word | 1 | 01-18-2014 08:02 PM |
![]() |
paulkaye | Word | 4 | 12-06-2011 11:05 PM |
![]() |
shabbaranks | Excel | 4 | 03-19-2011 08:38 AM |