Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-09-2014, 12:09 PM
Cayce Cayce is offline Need help using WildCard Find & Replace Mac OS X Need help using WildCard Find & Replace Office for Mac 2011
Novice
Need help using WildCard Find & Replace
 
Join Date: Jun 2014
Posts: 1
Cayce is on a distinguished road
Default Need help using WildCard Find & Replace

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
Reply With Quote
  #2  
Old 06-09-2014, 04:17 PM
macropod's Avatar
macropod macropod is offline Need help using WildCard Find &amp; Replace Windows 7 32bit Need help using WildCard Find &amp; Replace 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

Try a wildcard Find/Replace, where:
Find = (Tuesday:*)\</p\>
Replace = \1<br />
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
find & replace, wildcards

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help using WildCard Find &amp; Replace Find what box in Find and replace limits the length of a search term 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
Need help using WildCard Find &amp; Replace How to replace this word file using wildcard zhangzujin361 Word 1 01-18-2014 08:02 PM
Need help using WildCard Find &amp; Replace 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 using WildCard Find &amp; Replace Help with find and replace or query and replace shabbaranks Excel 4 03-19-2011 08:38 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:33 PM.


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