Seach and replace paragraphs.

  • Thread starter Thread starter tivaelydoc
  • Start date Start date
T

tivaelydoc

I've 1500 lines of words.

Just
Like
This

And I need somehow to search for paragraphs and replace with ", "

so", "it", "looks", "like", "this

Not sure if this matters, but some of my words have spaces in between them.
Like:

Dog kennel
bone
peter
 
You can include paragraph breaks in find & replace. If you click More.. and
then Special.. in the Find & Replace dialog you can a list.
For now though, enter "^p" in the Find what: and ", " in the Replace with:
box (without the quotes). "^p" represents the paragraph break. This method
ignores anything between the paragraph breaks, as long as there are no blank
lines.
 
I've 1500 lines of words.

Just
Like
This

And I need somehow to search for paragraphs and replace with ", "

so", "it", "looks", "like", "this

Not sure if this matters, but some of my words have spaces in between them.
Like:

Dog kennel
bone
peter

In the Replace dialog, enter the code ^p in the Find What box, and enter the
sequence ", " in the Replace With box. Click the Replace All button.

If you have trouble finding the codes for special items such as paragraph marks,
click the More button in the dialog and then click the Special button to get a
menu.
 
Back
Top