how do i add a comma after each line on a long list of words?

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

Guest

example:

word1
word2
word3

should become

word1,
word2,
word3,

i have a very long list hence doing it individually will take too much time.
please help
 
example:

word1
word2
word3

should become

word1,
word2,
word3,

i have a very long list hence doing it individually will take too much time.
please help

Assuming each word is followed by a paragraph break (when you turn on
nonprinting symbols you see a backwards-P sign, as shown in
http://www.word.mvps.org/FAQs/Formatting/NonPrintChars.htm):

Open the Replace dialog. In the Find What box, type

^p

In the Replace With box, enter

,^&

Press the Replace All button.
 
Use Edit>Replace.

If each line ends with a carriage return, then replace ^p with ,^p

If it ends with a new line "character" then replace ^l with ,^l (or ,^p)

To see what each line ends with, click on the Show/Hide button ¶

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
Back
Top