This is a multi-part message in MIME format.

------=_NextPart_000_000B_01C3A32A.AFA81CD0
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_000C_01C3A32A.AFA81CD0"


------=_NextPart_001_000C_01C3A32A.AFA81CD0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

En blanco



HI:



I need a macro that find any repeated consecutive word in a Word =
document. I'm working with large document and sometimes it have (wrong) =
consecutive repeated words, and sometimes it pass the manual revision =
and the final document goes with that repeated words.

I don't need that the macro eliminates the word, just mark it and we =
decide if eliminate it or not.

Any help will be so much apreciated.



Thanks in advance,





Omar



------=_NextPart_001_000C_01C3A32A.AFA81CD0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE id=3DridTitle>En blanco</TITLE><BASE=20
href=3D"file://C:\Archivos de programa\Archivos comunes\Microsoft =
Shared\Stationery\">
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<STYLE>BODY {
MARGIN-TOP: 25px; FONT-SIZE: 10pt; MARGIN-LEFT: 25px; COLOR: #000000; =
FONT-FAMILY: Arial, Helvetica
}
P.msoNormal {
MARGIN-TOP: 0px; FONT-SIZE: 10pt; MARGIN-LEFT: 0px; COLOR: #ffffcc; =
FONT-FAMILY: Helvetica, "Times New Roman"
}
LI.msoNormal {
MARGIN-TOP: 0px; FONT-SIZE: 10pt; MARGIN-LEFT: 0px; COLOR: #ffffcc; =
FONT-FAMILY: Helvetica, "Times New Roman"
}
</STYLE>

<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR></HEAD>
<BODY id=3DridBody bgColor=3D#ffffff=20
background=3Dcid:000601c3a343$d4f2e3d0$7ef82bc8@mipcxt400>
<DIV><FONT face=3DTahoma color=3D#008080 size=3D4></FONT>&nbsp;</DIV>
<P><FONT face=3D"Californian FB"></FONT></P>
<P>&nbsp;</P>
<P>HI:</P>
<P>&nbsp;</P>
<P>I need a macro that find any repeated consecutive word in a Word =
document.=20
I'm working with large document and sometimes it have (wrong) =
consecutive=20
repeated words, and sometimes it pass the manual revision and the final =
document=20
goes with that repeated words.</P>
<P>I don't need that the macro eliminates the word, just mark it =
and&nbsp;we=20
decide if eliminate it or not.</P>
<P>Any help will be so much apreciated.</P>
<P>&nbsp;</P>
<P>Thanks in advance,</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>Omar</P>
<P>&nbsp;</P></BODY></HTML>

------=_NextPart_001_000C_01C3A32A.AFA81CD0--

------=_NextPart_000_000B_01C3A32A.AFA81CD0
Content-Type: application/octet-stream;
name="Fondo de En blanco.gif"
Content-Transfer-Encoding: base64
Content-ID: <000601c3a343$d4f2e3d0$7ef82bc8@mipcxt400>

R0lGODlhLQAtAID/AP////f39ywAAAAALQAtAEACcAxup8vtvxKQsFon6d02898pGkgiYoCm6sq2
7iqWcmzOsmeXeA7uPJd5CYdD2g9oPF58ygqz+XhCG9JpJGmlYrPXGlfr/Yo/VW45e7amp2tou/lW
xo/zX513z+Vt+1n/tiX2pxP4NUhy2FM4xtjIUQAAOw==

------=_NextPart_000_000B_01C3A32A.AFA81CD0--

Re: Repeated consecutive words by Greg

Greg
Tue Nov 04 20:37:19 CST 2003

Omar,

The spell checker flags repeated words.

--
Greg Maxey
A peer in "peer to peer" support
Rockledge, FL
Remove the obvious (wham...m) to reply in e-mail

E. Omar Troccoli K. wrote:
> En blanco
>
>
>
> HI:
>
>
>
> I need a macro that find any repeated consecutive word in a Word
> document. I'm working with large document and sometimes it have
> (wrong) consecutive repeated words, and sometimes it pass the manual
> revision and the final document goes with that repeated words.
>
> I don't need that the macro eliminates the word, just mark it and we
> decide if eliminate it or not.
>
> Any help will be so much apreciated.
>
>
>
> Thanks in advance,
>
>
>
>
>
> Omar



Re: Repeated consecutive words by Klaus

Klaus
Wed Nov 05 11:16:06 CST 2003

Omar wrote:
> > I need a macro that find any repeated consecutive word in a Word
> > document. [...]


"Greg Maxey" <gmaxey@whamspammvps.org> wrote:
>
> The spell checker flags repeated words.


Or you could try "Edit > Find", with ""Use wildcards" checked, and
Find what: (<* ){2}

This would match one or more repeated words, but only if they are followed
by spaces in both instances.
So it would match
"rose is a rose is a"
in
"A rose is a rose is a rose".

(Wildcard searches are always case sensitive)

Matching only repeated single words, and even if one of them is followed by
punctuation, would be harder.
As a first try:
Find what: (<[! ]@>)[.,;/\!\? ]@\1

([! ] matches any character except a space, and "<" and ">" match only at
the start and end of a word; so "<[! ]@>" should match some word.
"[.,;/\!\? ]@" is a list of punctuation characters (where "!" and "?" had to
be "escaped" with a \backslash since they have a special meaning in wildcard
searches).
"\1" repeats the first (bracketed group); so it should match if the word
matched with "(<[! ]@>)" appears once more.

Greetings,
Klaus



Re: Repeated consecutive words by E

E
Sat Nov 08 15:07:12 CST 2003

HI, KLAUS:


First, thanks for your answer. I will look that and make it run as you
indicate.

Second, I see that you use "Edit", "Find" and so on, and use a string of
characters without any sense for me and for regular users, and the new
question that I have is how can I take a full list of that sequences for
global use, or, in other words, how can I "traduce" my needs to this
particular code.

Any list of sequences or simillar will be so apreciated.

Thank you, again.

Omar
From Argentina





"Klaus Linke" <fotosatz_kaufmann@t-online.de> escribió en el mensaje
news:#9zXBC8oDHA.2512@TK2MSFTNGP09.phx.gbl...
> Omar wrote:
> > > I need a macro that find any repeated consecutive word in a Word
> > > document. [...]
>
>
> "Greg Maxey" <gmaxey@whamspammvps.org> wrote:
> >
> > The spell checker flags repeated words.
>
>
> Or you could try "Edit > Find", with ""Use wildcards" checked, and
> Find what: (<* ){2}
>
> This would match one or more repeated words, but only if they are followed
> by spaces in both instances.
> So it would match
> "rose is a rose is a"
> in
> "A rose is a rose is a rose".
>
> (Wildcard searches are always case sensitive)
>
> Matching only repeated single words, and even if one of them is followed
by
> punctuation, would be harder.
> As a first try:
> Find what: (<[! ]@>)[.,;/\!\? ]@\1
>
> ([! ] matches any character except a space, and "<" and ">" match only at
> the start and end of a word; so "<[! ]@>" should match some word.
> "[.,;/\!\? ]@" is a list of punctuation characters (where "!" and "?" had
to
> be "escaped" with a \backslash since they have a special meaning in
wildcard
> searches).
> "\1" repeats the first (bracketed group); so it should match if the word
> matched with "(<[! ]@>)" appears once more.
>
> Greetings,
> Klaus
>
>





Re: Repeated consecutive words by Klaus

Klaus
Mon Nov 10 00:57:20 CST 2003

Hi Omar,

Sorry, I was a bit terse.

You can find a bit of help on wildcard searches in Word's help ("Search by
using wildcards"). To get you started with a couple of examples, you may
find the article http://www.mvps.org/word/FAQs/General/UsingWildcards.htm
helpful.

To take the expression I gave apart:

Find what: (<* ){2}

"<" looks for the beginning of a word.
"* " matches any following text (* = any string of arbitrary characters),
ending in a space.
By putting this in brackets "(<* )", you can then search for repetitions of
the bracketed expression.
So "(<* ){2}" will match one or more words ending in a space if they are
repeated 2 times.

Greetings,
Klaus


"E. Omar Troccoli K." <eotk@hotmail.com> wrote:
> HI, KLAUS:
>
>
> First, thanks for your answer. I will look that and make it run as you
> indicate.
>
> Second, I see that you use "Edit", "Find" and so on, and use a string of
> characters without any sense for me and for regular users, and the new
> question that I have is how can I take a full list of that sequences for
> global use, or, in other words, how can I "traduce" my needs to this
> particular code.
>
> Any list of sequences or simillar will be so apreciated.
>
> Thank you, again.
>
> Omar
> From Argentina
>
>
>
>
>
> "Klaus Linke" <fotosatz_kaufmann@t-online.de> escribió en el mensaje
> news:#9zXBC8oDHA.2512@TK2MSFTNGP09.phx.gbl...
> > Omar wrote:
> > > > I need a macro that find any repeated consecutive word in a Word
> > > > document. [...]
> >
> >
> > "Greg Maxey" <gmaxey@whamspammvps.org> wrote:
> > >
> > > The spell checker flags repeated words.
> >
> >
> > Or you could try "Edit > Find", with ""Use wildcards" checked, and
> > Find what: (<* ){2}
> >
> > This would match one or more repeated words, but only if they are
followed
> > by spaces in both instances.
> > So it would match
> > "rose is a rose is a"
> > in
> > "A rose is a rose is a rose".
> >
> > (Wildcard searches are always case sensitive)
> >
> > Matching only repeated single words, and even if one of them is followed
> by
> > punctuation, would be harder.
> > As a first try:
> > Find what: (<[! ]@>)[.,;/\!\? ]@\1
> >
> > ([! ] matches any character except a space, and "<" and ">" match only
at
> > the start and end of a word; so "<[! ]@>" should match some word.
> > "[.,;/\!\? ]@" is a list of punctuation characters (where "!" and "?"
had
> to
> > be "escaped" with a \backslash since they have a special meaning in
> wildcard
> > searches).
> > "\1" repeats the first (bracketed group); so it should match if the word
> > matched with "(<[! ]@>)" appears once more.
> >
> > Greetings,
> > Klaus
> >
> >
>
>
>
>