If you check the 'Use wildcards' checkbox, the find and replace
mechansim is a version of Regular Expressions, which you will find
documented in numerous places on the net. (For no obvious reason,
Microsoft doesn't quite follow the standard, but close enough for
most purposes.)
Regular expressions don't use AND or OR as such, but they do provide
equivalent mechanisms: eg, [xyz] means 'x' or 'y' or 'z'; [0-9]
means any single digit. For your example, searching for: J[! ]{1,}
Smith will match "J plus one or more non-space characters plus
space plus Smith". IE, both of your examples plus any number of
variants like "Josephine-Keller Smith" etc. Note that it doesn't
match "J Smith". (One of the unfortunate gaps in MS's regular
expressions is 'Zero or more'.)
You could also use J*Smith which matches "J plus zero or more
characters plus Smith" which might be acceptable depending on your
source data; but it would also match strings like "John Brown and
Michael Smith".
kuku1375 said:
Is it possible to use operators like AND or OR in Word's Find and
Search, e.g. to find all instances of "John Smith" and "J. Smith"
in one search?