com.groupdocs.redaction.integration

Interface ITextualFormatInstance



  • public interface ITextualFormatInstance

    Defines methods that are required for redacting textual data in any document, containing text.

    • Method Detail

      • replaceText

        RedactionResult replaceText(Pattern regularExpression,
                                  ReplacementOptions options)

        Replaces all matches of the regular expression with a given replacement.

        Parameters:
        regularExpression - Regular expression to search and replace
        options - allow to set textual replacement or color for redaction block
        Returns:
        Text replacement result