Skip to main content
Participant
March 22, 2023
Answered

Sanitize document using custom patterns

  • March 22, 2023
  • 2 replies
  • 1727 views

Hello:

 

I want to create my own pattern to use for sanitize a pdf document, using Adobe Acrobat Pro.

Is it possible. I only have available:

Phone numbers

Credit cards

Social Security numbers

Email

Dates

 

Thank you vey much.

 

This topic has been closed for replies.
Correct answer JR Boulay

You must edit the "SearchRedactPatterns.xml" file. Copy-paste an existing pattern and edit it (this requires some GREP knowledge).

 

2 replies

JR Boulay
Community Expert
JR BoulayCommunity ExpertCorrect answer
Community Expert
March 22, 2023

You must edit the "SearchRedactPatterns.xml" file. Copy-paste an existing pattern and edit it (this requires some GREP knowledge).

 

Acrobate du PDF, InDesigner et Photoshopographe
Participant
March 22, 2023

Hello JR:

This is exaclty I was looking for. Thank you very much for your help.

 

 

jane-e
Community Expert
Community Expert
March 22, 2023

@Francesc290083726es8 

 

When you say "sanitize", do you mean "redact" or do you mean something else?

 

In Acrobat, "sanitize" means to remove information that is not visible in the file, such as comments, metadata, hidden layers, and text that is hidden either because it has no fill or stroke or because something else is in front of it.

 

Jane

Participant
March 22, 2023

Hello Jane:

Yes. I mean Redact. I need to use custom pattern. See picture