But I don't know enough about regular expressions to know how to "say"
"Deselect the string you found and replace only the hyphen with the en dash."
I searched and studied several tutorials on regular expressions, including
what was available via the Word MVP site. Lots of help with creating
expressions, but not much at all about what goes in the Replace field.
Again, I appreciate your help.
You are nearly there. As long as 2008 works the same as 2004 (which is
where I tested it.) You will find the trick in the second note in the
help topic "advanced search methods"
With use wildcards checked in the find/replace expanded dialog box:
Find
([0-9])-([0-9])
replace
\1Ñ\2
It's that easy.
In case the help in 2008 is even worse than 2004's Here's what it says:-
"You can use the \n wildcard to search for an expression and then
replace it with the rearranged expression. For example, type (Newton)
(Christie) in the Find what box and \2 \1 in the Replace with box. Word
will find "Newton Christie" and replace it with "Christie Newton" "
Or in my own words,:- Wrap each search sub-expression in parentheses.
It will then be held for replacement. The nth wrapped sub-expression in
the search is retrieved with \n
Note also the Mac-wide keystroke for an en dash is alt-hyphen. It even
works in the replace box in Word.
Also note (with sadness) that your ^# expression does not work with
wildcards enabled in Word's Ÿber-lame regexp implementation. You will
have to use the more prolix [0-9] form.