Hello,

I have a word document that looks as follows:

{"word1 / word1a"},
{"word2 / word2a"},
{"word3 / word3a"},
.....
{"word1000 / word1000a"}

What I need to do is remove the '/ wordxa' from the document so it
looks like this:

{"word1"},
{"word2"},
{"word3"},
.....
{"word1000"}

Any help would be appreciated.

Thanks,
RABMissouri2006

Re: reformating a string... by Jay

Jay
Tue Aug 08 22:27:25 CDT 2006

For the general answer, see
http://www.gmayor.com/replace_using_wildcards.htm. The specific search
string to use with the wildcard setting in this case is

/ word[0-9]{1,}a

(include a single space before the slash character). The replacement
string should be empty. Then click the Replace All button.

This can be recorded or written directly as a macro if it's something
you need to do to many documents, but it doesn't seem necessary.

--
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.

On 8 Aug 2006 19:44:57 -0700, "RAB" <rabmissouri@yahoo.com> wrote:

>Hello,
>
>I have a word document that looks as follows:
>
>{"word1 / word1a"},
>{"word2 / word2a"},
>{"word3 / word3a"},
>.....
>{"word1000 / word1000a"}
>
>What I need to do is remove the '/ wordxa' from the document so it
>looks like this:
>
>{"word1"},
>{"word2"},
>{"word3"},
>.....
>{"word1000"}
>
>Any help would be appreciated.
>
>Thanks,
>RABMissouri2006