__init__ constructor
Leave feedback
On this page
Initializes a new instance of ExactPhraseRedaction class in case insensitive mode.
def __init__(self, search_phrase, options):
...
| Parameter | Type | Description |
|---|---|---|
| search_phrase | str |
String to search and replace. |
| options | ReplacementOptions |
Replacement options (textual, color). |
from groupdocs.redaction.redactions import ExactPhraseRedaction, ReplacementOptions
repl_opt = ReplacementOptions("[personal]")
ex_red = ExactPhraseRedaction("Emily Johnson", repl_opt)
Initializes a new ExactPhraseRedaction.
def __init__(self, search_phrase, is_case_sensitive, options):
...
| Parameter | Type | Description |
|---|---|---|
| search_phrase | str |
String to search and replace. |
| is_case_sensitive | bool |
True if case‑sensitive search is required. |
| options | ReplacementOptions |
Replacement options (textual, color). |
- class
ExactPhraseRedaction
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.