Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


GREP

New Here ,
Jan 02, 2021 Jan 02, 2021

Copy link to clipboard

Copied

 

hey,

I'm pretty much starting with the grep issue in Indesign.

What is the code to delete identical paragraph?

The first paragraph need to be stay. Only if there is another identical paragraph it should be deleted.

Thanks

ThanksDelete same paragraph.jpg
TOPICS
How to

Views

130

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Jan 02, 2021 Jan 02, 2021
This should work: Find: ([^\r]+\r)\1+ Replace: $1

Likes

Translate

Translate
Adobe Community Professional ,
Jan 02, 2021 Jan 02, 2021

Copy link to clipboard

Copied

This should work:

Find:

([^\r]+\r)\1+

Replace:

$1

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 10, 2021 Jan 10, 2021

Copy link to clipboard

Copied

LATEST

Thank you

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines