Is it possible use regex to remove small words in a text? For example, I have the following string (text):
anytext = \" in the echo chamber from Ontario duo
I don't think you need a regex for this simple example anyway ...
' '.join(word for word in anytext.split() if len(word)>3)