View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Word Count Excluding bracketed words

On Sun, 13 Dec 2009 22:45:01 -0800, jlk
wrote:

Hi - is it possible for word count to exclude all words in brackets?


Not directly -- you have to do it in two steps.

Make a copy of the document using the Save As command. In the copy,
delete all the words that are bracketed, by using a wildcard
replacement of an expression like

\([A-Za-z ]@\)

with nothing as described at
http://www.gmayor.com/replace_using_wildcards.htm (but since different
people use "bracket" to mean different characters, you may have to
change the expression to make it work for yourself).

Do a word count on the remaining text of the copy document, which you
can then discard.


--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.