Need help

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello i'v got a document with a LOT of names. 3500 is the exact amount. They
are fixed like this

gryeilen+, 20 128p
lindaca+, 20 128p
tequila1+, 16 128p
linte+, 19 127p
tralleli, 17 127p
msngrl, 17 127p
carolja, 17 126p
kitzekat, 16 126p
broken, 17 126p
omen, 17 126p

I need to delete everything after the , <-- and replace it whit ;
<--- for example

omen;tralleli;msnh;carolja;kitzekat;

If someone know a way to do this like an command who will do this
automaticly this will save me for days of work. Plz help me on
(e-mail address removed)
 
From the Edit menu, select Replace and then click on the More button and
check the wildcard box and in the Find what control enter

, [0-9]{2} [0-9]{3}p ^13

and in the Replace with control enter

;

and then click on replace all.

Note, the above search string is based on what appeared when I copied and
pasted

gryeilen+, 20 128p
lindaca+, 20 128p
tequila1+, 16 128p
linte+, 19 127p
tralleli, 17 127p
msngrl, 17 127p
carolja, 17 126p
kitzekat, 16 126p
broken, 17 126p
omen, 17 126p

into a document where it appeared as:

gryeilen+, 20 128p ¶
lindaca+, 20 128p ¶
tequila1+, 16 128p ¶
linte+, 19 127p ¶
tralleli, 17 127p ¶
msngrl, 17 127p ¶
carolja, 17 126p ¶
kitzekat, 16 126p ¶
broken, 17 126p ¶
omen, 17 126p ¶

When I clicked on the Show/Hide ( ¶ ) button to see what was terminating
each line and there was a space between the p and the ¶.

For an explanation of what the , [0-9]{2} [0-9]{3}p ^13 means, see the
article "Finding and replacing characters using wildcards" at:

http://word.mvps.org/FAQs/General/UsingWildcards.htm




--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
"For the smart word users" <For the smart word
(e-mail address removed)> wrote in message
news:[email protected]...
 
Back
Top