For the complete documentation index, see llms.txt. This page is also available as Markdown.
RedactionOfficePDF/UAPDF/AFull-API

Redaction Showcase Demo Code Sample

Requirements

These packages are required to use these features in production. Trial keys have unlimited access to all features

Web SDKFull APIPackage: RedactionLive demo

Quickly search and redact sensitive text within documents, all handled securely on the client side. Redaction is performed entirely within your private network, ensuring sensitive data never leaves your environment.

This demo allows you to:

  • Support 30+ document types including PDF, MS Office (doc, docx, xlsx, pptx) and Images (jpg, png), all converted to PDF for processing

  • Load form local source or URL

  • Search using free-text or predefined patterns:

    • Phone Numbers

    • Credit Card Numbers

    • Emails

  • Customize search types:

    • Match Case

    • Match Whole Words

    • Wildcard '*'

    • Regular Expressions

    • Search Direction Up

    • Ambient String (returns surrounding strings to matches)

  • Download document as PDF with saved redactions

Implementation steps To add Redaction capability with WebViewer:

Step 1: Choose your preferred web stack Step 2: Add the ES6 JavaScript sample code provided in this guide.

Once you generate your license key, it will automatically be included in your sample code below.

spinner