GREP

New Here ,
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
Adobe Community Professional
Correct answer by jmlevy | Adobe Community Professional

This should work:

Find:

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

Replace:

$1

TOPICS
How to

Views

57

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

GREP

New Here ,
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
Adobe Community Professional
Correct answer by jmlevy | Adobe Community Professional

This should work:

Find:

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

Replace:

$1

TOPICS
How to

Views

58

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
Jan 02, 2021 0
Adobe Community Professional ,
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
Reply
Loading...
Jan 02, 2021 1
New Here ,
Jan 10, 2021

Copy link to clipboard

Copied

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
Reply
Loading...
Jan 10, 2021 0