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

Is there a way to delete pages bound by a specific phrases (using Adobe Pro)

New Here ,
Mar 21, 2019 Mar 21, 2019

Copy link to clipboard

Copied

In my scenario, I have a multi page pdf.  There is a page that starts with a specific phrase "Page C".  I need to delete that page, and all other following pages until it reaches another specific phrase "Page D".

I'm guessing it would be some kind of javascript in the action wizard.  If so, could anyone help me find something that would work?  Thanks!

TOPICS
Acrobat SDK and JavaScript

Views

208

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
Community Expert ,
Mar 22, 2019 Mar 22, 2019

Copy link to clipboard

Copied

LATEST

Yes, this can be achieved using a script, but it's not a very trivial task. You would need to write a loop that iterates over all the words of all the pages looking for the "Page C" string, and then continue until you find the "Page D" string. Then you delete the pages in between.

You would also need to decide what to do if the second string is not found.

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