Seach and replace paragraphs.

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
 
R

Rich57

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

Jay Freedman

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top