ComPDFKit Web SDK
    Preparing search index...

    Interface RedactionSearchPattern

    A redaction search pattern. Stored only: the default UI has no redaction search.

    interface RedactionSearchPattern {
        icon?: string;
        label: string;
        regex: RegExp;
        type: string;
    }
    Index
    icon?: string

    Icon of the pattern.

    label: string

    Label of the pattern, or a translation key.

    regex: RegExp

    Regular expression the pattern matches.

    type: string

    Unique key of the pattern; adding a pattern with an existing type replaces it.