I have the second sentence:
blablabla.blabla
and I would like the final sentence to be without the punctuation and without what comes after the period, like this:
blablabla
I made the following code, I used Regex, but the end result is not the expected one, does anyone know what may be wrong in the code?
import re
from re import sub
stringTEXT = "blablabla.blabla"
stringTEXT = re.sub(r'..*', '',stringTEXT )