Find and Replace - Need Refernce/Info Links - RegEx?

K

KnightBall

Is there a good reference for the Find and Replace commands?

Both the Wildcards and Non-Wildcards.

Does it use RegEx? if so which kind (Perl?).

Any good links to references on this would be great
 
J

Jay Freedman

Is there a good reference for the Find and Replace commands?

Both the Wildcards and Non-Wildcards.

Does it use RegEx? if so which kind (Perl?).

Any good links to references on this would be great

For wildcards, see http://www.gmayor.com/replace_using_wildcards.htm. You'll
find that Word's wildcards are almost-but-not-quite RegEx. (Microsoft has always
had a penchant for wandering away from standards -- it's one of their least
endearing traits.) If you want to use RegEx in a VBA macro, you can go to Tools
References and check Microsoft VBscript Regular Expressions, and then declare
and use a RegExp object. Look at
http://www.markcarter.me.uk/computing/vba/regex.html for some examples.

For non-wildcard searches, the help topic
(http://office.microsoft.com/en-us/word/HP051894331033.aspx) is not bad. For
special uses, you might look at
http://word.mvps.org/FAQs/MacrosVBA/FindReplaceSymbols.htm and
http://word.mvps.org/FAQs/General/FindingSpecialCharacters.htm.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top