Other PDF Issues

Automate PDF Page Extraction by Text and Color in Adobe Acrobat

Algirdas JasaitisAlgirdas Jasaitis Nov 25, 2026 868 views

Question details

Extract PDF pages that contain a specific phrase in a specified text color.

Automate PDF Page Extraction by Text and Color in Adobe Acrobat
Product
Adobe Acrobat
Device & OS
not provided
Scenario
A user wants to automate page extraction using both a phrase and its text color as matching criteria.
Observed behavior
Acrobat actions do not normally extract pages based on both a phrase and text color.
Before you start

Confirm the exact phrase and target color, and check whether the PDF text is selectable. If the document is scanned, use Acrobat's Scan & OCR tool to recognize the text before searching; verify separately that your chosen detection tool can identify the color.

Solution 1Recommended

Use a Plug-in or Automation Tool to Detect Text and Color

Use this approach when you need to process many pages or repeat the extraction.

Standard Acrobat actions do not normally combine phrase and text-color criteria for page extraction. Choose a plug-in or standalone PDF tool that explicitly supports both checks and can report or extract matching pages.

1
Select a compatible tool

Review the plug-in or automation tool's documentation for phrase matching, text-color detection, and page extraction support.

2
Configure the criteria

Open the PDF in the chosen tool and set the target phrase and color using its search or automation settings.

3
Review the matches

Run the tool and inspect the reported page numbers against the PDF, especially if colors or text formatting vary.

4
Extract the pages

Use the tool's extraction command, or open Acrobat's Organize Pages tool, select the reported pages, and choose Extract.

Use a Plug-in or Automation Tool to Detect Text and Color
Check color detection: Tools may interpret PDF text color differently from its on-screen appearance. Test representative pages before processing the full document.
Free Microsoft Office alternative

Work With PDFs and Office Files in WPS Office

WPS Office is a free, lightweight alternative to Microsoft Office with a familiar interface and support for common Office formats, making it easier to move existing files. Its PDF tools can assist with manual page work, but do not assume they automate extraction by both text and color.

Work with PDFs alongside documents, spreadsheets, and presentations.Open and edit compatible Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTX.Use a familiar interface to transition from Microsoft Office.Use a free, lightweight office suite for everyday file tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Can an Acrobat action extract pages based on both a phrase and its color?

Acrobat actions do not normally combine those criteria. Look for a plug-in or standalone automation tool that explicitly supports phrase matching and text-color detection.

How can I extract pages after finding the matches?

In Acrobat, open Organize Pages, select the matching pages, and choose Extract. Check the resulting PDF to confirm that it contains the intended pages.

Can comments or bookmarks identify pages for extraction?

Yes. Add a uniquely worded comment through the Comment tool or a bookmark through the Bookmarks panel on each verified page. Review the markers to record page numbers before using Organize Pages.

What if I cannot select or search the text in my PDF?

The PDF may contain scanned images. Use Acrobat's Scan & OCR tool to recognize text, then test whether your chosen detection tool can also determine the required color.