re.split('[^az]') re.split('[^az]') 
  • Cut the second argument (you do not have it) into non-letter characters. There will be a list of words. - vp_arth
  • in addition to the comment above: non-latin lower case letters - Mikhail Vaysman
  • Thank you very much for the answers. And how to make it so that in addition to the condition above, I still have gaps cleaned ?? - Dronio

0