Share via

Duplicated paragraphs

Anonymous
2012-09-03T03:26:31+00:00

I have documents that have duplicated paragraphs after I sort by paragraph. Is there any way to find these duplications for deleting?

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2012-09-03T04:34:04+00:00

The Find and Replace strings to locate and delete duplicate paragraphs (exact matches only, no upper/lower case differences) are as follows:

  • Select Edit > Find > Advanced Find and Replace
  • Click on the Replace tab at the top
  • Click on the disclose triangle to expand the dialog box
  • Place a checkmark in Use wildcards
  • Type or paste this underlined text inFind what:

(^13)([!^13]@)(^13)\2\3

  • If you paste the above, you'll get two carets for each single one, so manually replace any instance of ^^ by a single ^.
  • Type or paste this underlined text in Replace with:\1\2\3

Do single replacements until you are satisfied that your replacement works.

To better visualize the operation, it will be easier if you specify a replacement font color: click in the Replace with field, then select Format > Font and a color at the bottom dropdown menu. If you leave the Replace with field blank (instead of using \1\2\3), such replacement will just add a color and make it real easy for you to check.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful