Skip to main content
Participant
October 14, 2024
Answered

Search/replace text containing dashes

  • October 14, 2024
  • 2 replies
  • 536 views

Hello, I'm trying to use Acrobat Pro version 2024.003.20180 64-bt to anonymize tax returns containing SSN's with the format 123-45-6789. I would like to use Search/Replace to convert each SSN to a generic string such as "XXX-XX-XXXX". However, the search/replace function does not accept the SSN string including the dashes. Any ideas for a workaround?

 

Thanks!

This topic has been closed for replies.
Correct answer try67

There's a built-in pattern that does this under Tools - Redact - Redact Text & Images:

 

 

Before applying the redactions you can set their Overlay Text property to "XXX-XX-XXXX", if you wish.

 

2 replies

Participant
October 15, 2024

Perfect, thanks!

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
October 14, 2024

There's a built-in pattern that does this under Tools - Redact - Redact Text & Images:

 

 

Before applying the redactions you can set their Overlay Text property to "XXX-XX-XXXX", if you wish.