fork(35) download
  1. line = "i want you , to know , my name . "
  2.  
  3. import re
  4. print len(re.findall(r'\w+', line))
  5.  
Success #stdin #stdout 0.01s 6684KB
stdin
Standard input is empty
stdout
7