![]() |
|
|
|||
|
Re: delete large chunk of repeated text
> How do I delete a large chunk of repeated paragraphs in Word? I tried the
> Find and replace feature but was unsuccessful. You mean the same paragraph repeated several times? In "Edit > Replace", check the option to "Match wildcards". Find what: ([!^13]@^13){2,} Replace with: \1 (In some localized versions of Word, you have to use {2;} instead of {2,}) ^13 is the code of a paragraph mark. [!^13] matches any other character (except paragraph marks). [!^13]@ matches any number of the above. So [!^13]@^13 matches any paragraph. The (braces) are used to group stuff so you can re-use it. {2,} means "two or more of the preceeding expression". So the whole expression in "Find what" matches a paragraph that's repeated two or more times. \1 (in "Replace with") inserts the first group ... in this case, the repeated paragraph. Regards, Klaus |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|