fork download
  1. import re
  2. s = "Question1: a12 is the number of a, b1 is the number of cầu thủ"
  3. print(re.compile(r'\b[^\W\d_]{2,}\b').findall(s))
Success #stdin #stdout 0.01s 27744KB
stdin
Standard input is empty
stdout
['is', 'the', 'number', 'of', 'is', 'the', 'number', 'of', 'cầu', 'thủ']