Some of the regular expression gurus might have better suggestions, but you
can use --
Hello[!^013]*world
to find all instances of "Hello ... world" within one paragraph. You need
'Use wildcards' checked, and the test is case sensitive.
"AH" wrote in message
...
Is there a way to find instances of words near other words, or to do
Boolean-style searches, within a Word document?
For example, I want to find all instances of the word "hello" within 2
words
of "world". So, I would find "hello world", "hello happy world", "hello
and
goodbye world."
I tried typing in Hello * World in the Find What... box, but that didn't
work.
Any ideas? Thanks.
|