Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-22-2012, 08:04 PM
jungkim jungkim is offline Perform a search for alternative words Windows 7 32bit Perform a search for alternative words Office 2003
Novice
Perform a search for alternative words
 
Join Date: Mar 2012
Posts: 4
jungkim is on a distinguished road
Default Perform a search for alternative words

I'm using a 2003 Word and have a huge word document in which to search for any one of the words 'has' 'have' 'had' 'having'. What I came across is this: http://office.microsoft.com/en-us/wo...102350661.aspx


After struggling with the so-called regular expressions, I finally figured out the following: <(ha[v|s|d]*)>
Input in the Find What field, this regular expression found me any one of the above-mentioned words.

Now here come my two questions:
First, is there an easier or more intuitive way to perform the aforementioned search in Word 2003?
Second, using the regular expressions, I now would like to search for any one of the phrases: 'have to' 'has to' 'had to' 'having to'. But when I typed in the Find What field the following, Word didn't just return 'have to' but also phrases like 'have something to': <(ha[v|s|d]*)> <(to)>. Any suggestion to fix this expression will be appreciated.

Thanks in advance!
Regards,
Jung
Reply With Quote
  #2  
Old 03-22-2012, 08:38 PM
macropod's Avatar
macropod macropod is offline Perform a search for alternative words Windows 7 64bit Perform a search for alternative words Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,213
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

Hi Jung,

When searching for words like 'has' 'have' 'had' 'having', why not just do an ordinary search for any one of the word forms and check Word's 'match all word forms' option?

For the 'has/have/had/having to' search, you could use a wildcard Find, where:
Find = <[Hh]a[sdveing]{1,4}> <to>
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 03-24-2012, 07:40 AM
jungkim jungkim is offline Perform a search for alternative words Windows 7 32bit Perform a search for alternative words Office 2003
Novice
Perform a search for alternative words
 
Join Date: Mar 2012
Posts: 4
jungkim is on a distinguished road
Default

Paul,
Wow, you've saved me hours of work. Can't thank you enough!
Now, I wanna look into the expression to figure it out myself
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternative account for when occasionally using mobile WiF dongle Gretsche Outlook 0 01-28-2012 10:04 AM
Perform a search for alternative words Perform Calculations using List boxes Jennifer_Falcon Word VBA 6 07-26-2011 10:49 AM
Why Words doesnít show the style of the selected words automatically???? Jamal NUMAN Word 0 04-14-2011 03:20 PM
Ho to perform multi selection in drop down lists? nashville Word 0 09-29-2010 07:10 AM
Perform a search for alternative words MS home Publisher 2000 problems/alternative rosso1 Publisher 3 05-16-2005 07:35 PM

Other Forums: Access Forums - Senior Forums

All times are GMT -7. The time now is 12:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft