exclude certain things from a word count

D

djaneb

Hello

I am writing an essay and I want to exclude all the words that are in
brackets eg (these are the words I want to exclude along with their
brackets and they include numbers).

I thought of a few possibilities - that there is a macro somewhere that
will do it or that I could search for all occurences of brackets and
their contents, apply a style to them, temporarily delete them and do
the word count, then restore them ..

but I can't work out even how to use Find to find everything with the
brackets.

Am I looking in the right place for the solution to this problem?

Many thanks if you have any thoughts.

Deb
 
J

Jesper Kaas

Hello

I am writing an essay and I want to exclude all the words that are in
brackets eg (these are the words I want to exclude along with their
brackets and they include numbers).

I thought of a few possibilities - that there is a macro somewhere that
will do it or that I could search for all occurences of brackets and
their contents, apply a style to them, temporarily delete them and do
the word count, then restore them ..

but I can't work out even how to use Find to find everything with the
brackets.

Am I looking in the right place for the solution to this problem?

Many thanks if you have any thoughts.

Deb
You could simply do a search and replace (Ctrl-H).
in the dialogbox you must click "More", and put a mark in "Use
jokersign". Then in the "Search for" you enter \[*\]
Leave the Replace-box empty, and click Replace all.
 
J

Jesper Kaas

Hello

I am writing an essay and I want to exclude all the words that are in
brackets eg (these are the words I want to exclude along with their
brackets and they include numbers).

I thought of a few possibilities - that there is a macro somewhere that
will do it or that I could search for all occurences of brackets and
their contents, apply a style to them, temporarily delete them and do
the word count, then restore them ..

but I can't work out even how to use Find to find everything with the
brackets.

Am I looking in the right place for the solution to this problem?

Many thanks if you have any thoughts.

Deb

You could simply do a search and replace (Ctrl-H).
in the dialogbox you must click "More", and put a mark in "Use
jokersign". Then in the "Search for" you enter \[*\]
Leave the Replace-box empty, and click Replace all.
 
D

djaneb

Thank you so much. This is what I needed. I knew about the Wild Card
but didn't understand the bit about the backslash.

Deb
 

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