Find and remove the text #2151
Answered
by
JorjMcKie
MallRoy
asked this question in
Looking for help
-
I am using |
Beta Was this translation helpful? Give feedback.
Answered by
JorjMcKie
Dec 29, 2022
Replies: 1 comment 3 replies
-
Best use Redaction annotations: words = page.get_text("words")
page.add_redact_annot(w[:4]) # for some desired w in words
page.add_redact_annot(v[:4]) # for another desired v in words
...
page.apply_redactions() # remove all text in above redactions |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
MallRoy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Best use Redaction annotations: