PDF Security & Access Issues

How to Create Custom Redaction Search Patterns in Adobe Acrobat

Adam DavisAdam Davis Nov 3, 2026 869 views

Question details

Users need to configure custom regular-expression search patterns to automatically find and redact sensitive information in Adobe Acrobat.

How to Create Custom Redaction Search Patterns in Adobe Acrobat
Product
Adobe Acrobat Pro
Device & OS
not provided
Scenario
Finding and redacting specific formats of sensitive data in PDF documents automatically.
Observed behavior
The location of the SearchRedactPatterns.xml file and the availability of custom pattern editing vary depending on the Acrobat release and operating system, causing confusion.
Before you start

Before modifying system files, verify your exact version of Adobe Acrobat, as the redaction tools and custom XML file support differ significantly between newer and older releases.

Solution 1Recommended

Use Built-in Redaction Search Patterns

For modern versions of Acrobat, the standard redaction tool includes several built-in patterns for finding common sensitive data formats without needing XML configuration.

In newer Acrobat updates, the feature to search for patterns is no longer available in the generic Advanced Search window. You must initiate the search directly through the dedicated Redact tool interface.

1
Open the Redact Tool

Open your document in Adobe Acrobat, navigate to the Tools pane, and select the 'Redact' tool.

2
Initiate Text Search

Click on 'Mark for Redaction' in the secondary toolbar and choose the 'Find Text' option.

3
Select Patterns

In the search panel that appears, choose the 'Patterns' option to view the list of available regular expression searches.

4
Apply Redactions

Choose a specific pattern from the drop-down list (such as credit card numbers or phone numbers), run the search, and apply your redactions to the identified text.

Use Built-in Redaction Search Patterns
Alternative Method: If the built-in patterns do not meet your needs and custom XML editing is disabled in your release, contact Adobe Support for version-specific enterprise configuration paths.
Free Microsoft Office alternative

Try WPS Office for Lightweight Document and PDF Management

While configuring complex XML files for custom regex patterns is highly specific to Adobe Acrobat, WPS Office offers a comprehensive, user-friendly suite for your everyday document creation and standard PDF editing needs.

Easily edit, annotate, and manage PDF documents without navigating complex enterprise configurations.Highly compatible with Microsoft Word, Excel, PowerPoint, and standard PDF formats.Lightweight application that runs smoothly across Windows, Mac, Linux, and mobile devices.
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I find the SearchRedactPatterns.xml file on my Mac?

The location of the XML file changes depending on your exact macOS version and Adobe Acrobat release. In newer versions, this file may be hidden within the app package contents or the feature may no longer be supported for manual user edits.

Can I edit the Acrobat source code to add my own redaction search patterns?

No, end users do not have access to Adobe Acrobat's proprietary source code. You can only customize redaction patterns by editing the designated SearchRedactPatterns.xml configuration file, provided your specific version still supports it.

Are custom redaction search patterns available in the Advanced Search window?

In newer updates, the patterns option is no longer available in the generic Advanced Search window. You must open the Redact tool, select Mark for Redaction, choose Find Text, and then select the Patterns option from there.

What should I do if my version of Acrobat does not support custom XML patterns?

If custom XML editing is unsupported or restricted in your release, you must rely on the built-in patterns provided in the Find Text menu or contact Adobe Support to inquire about version-specific configuration solutions.