fork(27) download
  1. s = 'dasf {{asdf}} hjdf'
  2.  
  3. import re
  4. print re.sub('{{.*?}}', '', s)
Success #stdin #stdout 0.02s 4676KB
stdin
Standard input is empty
stdout
dasf  hjdf