fork download
  1. import re
  2.  
  3. print re.findall('[a-z]+\.(?:txt|html)', 'abc.txt def.html')
Success #stdin #stdout 0.09s 10864KB
stdin
Standard input is empty
stdout
['abc.txt', 'def.html']