Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-09-2011, 02:08 AM
paulkaye paulkaye is offline Complex Find and Replace Windows 7 64bit Complex Find and Replace Office 2007
Advanced Beginner
Complex Find and Replace
 
Join Date: Nov 2011
Posts: 84
paulkaye is on a distinguished road
Default Complex Find and Replace

Hi,


I regularly have to replace text. Normally, I would use the "Find and Replace" function, but I don't know how (or if it's possible) to use variables, wildcards etc. Here's an example of what I need to do:

Original text:
7. The paragraph according to version 1, wherein the device...

New next:
In a section, the device...

I'm therefore trying to replace
"[number].[tab]The paragraph according to version [number], wherein"
with
"In a section,"

Can anyone help?
Many thanks in advance,
Paul
Reply With Quote
  #2  
Old 11-13-2011, 04:23 AM
macropod's Avatar
macropod macropod is offline Complex Find and Replace Windows 7 64bit Complex Find and Replace Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Hi Paul,

You can do this with a wildcard Find/Replace, where:
Find = [0-9]{1,}.^tThe paragraph according to version [0-9]{1,}
Replace = In a section
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
find and replace, variable, wildcards



Similar Threads
Thread Thread Starter Forum Replies Last Post
Complex Find and Replace Is there a way to use "find/replace" to find italics words? slayda Word 3 09-14-2011 02:16 PM
Complex Find and Replace Find and Replace kjxavier Word 6 08-19-2011 09:56 PM
Complex Find and Replace Find and Replace kjxavier Word 1 08-12-2011 08:57 AM
Complex Find and Replace Find and Replace kjxavier Word 9 08-11-2011 04:47 AM
Complex Find and 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 10:41 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