Skip to main content
1-Visitor
January 7, 2016
Solved

ACL script to redact text

  • January 7, 2016
  • 1 reply
  • 1296 views

Does someone have an ACL script that can replace all text in a document with "xxxxxxxx" or make them otherwise unreadable so we can sanitize our production documents before sending them to PTC Support?

Best answer by pnagai

‌what about an ACL with 50 find/replaces? Change a to x. Change A to X. b, B, c, C, and so on. (Skip x and X.) If you're really paranoid, change ' and maybe , also. You'll have to decide if hyphenation and line/page breaks might be changed enough to alter the bug behavior.

1 reply

pnagai1-VisitorAnswer
1-Visitor
January 7, 2016

‌what about an ACL with 50 find/replaces? Change a to x. Change A to X. b, B, c, C, and so on. (Skip x and X.) If you're really paranoid, change ' and maybe , also. You'll have to decide if hyphenation and line/page breaks might be changed enough to alter the bug behavior.

cleccese1-VisitorAuthor
1-Visitor
January 7, 2016

Thanks, Paul, I was thinking along those lines, I will try it!

replace(".","x",0x2004)  replaces everything but generated text.