fork download
  1. import re
  2. s = re.sub(r'(\b\w+)\s+\1', r'\1 <strong>\1</strong>', 'fly me to the the moon')
  3. print(s)
Success #stdin #stdout 0.03s 9440KB
stdin
Standard input is empty
stdout
fly me to the <strong>the</strong> moon