Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Word Count Excluding bracketed words

1,481 views
Skip to first unread message

jlk

unread,
Dec 14, 2009, 1:45:01 AM12/14/09
to
Hi - is it possible for word count to exclude all words in brackets?

Jay Freedman

unread,
Dec 14, 2009, 8:08:13 AM12/14/09
to
On Sun, 13 Dec 2009 22:45:01 -0800, jlk
<j...@discussions.microsoft.com> 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.

senthilkumarabi

unread,
Dec 14, 2009, 8:34:24 AM12/14/09
to

Hi jlk,

It is not possible using word inbuilt function. But we can write
macros.

Thanks,
Senthil. S


--
senthilkumarabi

Suzanne S. Barnhill

unread,
Dec 14, 2009, 9:43:19 AM12/14/09
to

You could also use a Replace operation to just format the bracketed words as
Hidden. When Hidden text is not displayed, it is also not counted.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Jay Freedman" <jay.fr...@verizon.net> wrote in message
news:ujdci59ugf0fe1jb5...@4ax.com...

0 new messages