I tried:
re.sub(r'[^crfl](?=(\.|\,|\s|\Z))', '', val, flags=re.I)
in line
car. cupid, fof bob lol. koc coc, cob
but the result:
car cupi fof bo lol koc coc co
I canβt guess why the statement in the title was removed with commas and periods.
As a result, I am for:
car. cupi, fof bo lol. koc coc, co
source share