Replies: 2 comments 2 replies
-
|
The import re
text = "UPPER CASE: REMOVE!\nlower case: keep!"
print(re.sub(r"\b[A-Z]+[!:]?", "", text))... returns: |
Beta Was this translation helpful? Give feedback.
-
|
@jsvine Does the table analysis work on char-level or word-level input? I ask because the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to exclude / filter text segments?
I managed to exclude single characters using
page.filter()as described here: #89 .For example, I have following text:
With
page.filter()excluding all upper-case letters I get (of course):But I want this result:
Is this doable?
Beta Was this translation helpful? Give feedback.
All reactions