• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

225

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

Community Expert , Jan 02, 2021 Jan 02, 2021

This should work:

Find:

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

Replace:

$1

Votes

Translate

Translate
Community Expert ,
Jan 02, 2021 Jan 02, 2021

Copy link to clipboard

Copied

This should work:

Find:

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

Replace:

$1

Votes

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

Votes

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