У меня есть вход (включая Unicode):
s = "Question1: a12 is the number of a, b1 is the number of cầu thủ"
Я хочу получить все слова, которые не содержат цифр и имеют более 2 символов, вывод желания:
['is', 'the', 'number', 'of', 'is', 'the', 'number', 'of', 'cầu', 'thủ']
.
Я пробовал
re.compile('[\w]{2,}').findall(s)
и получил
'Question1', 'a12', 'is', 'the', 'number', 'of', 'b1', 'is', 'the', 'number', 'of', 'cầu', 'thủ'
Есть ли способ получить только слова без номера?