# coding=utf-8
import re

# expanded for readability

u = u'Pelé is Here TO ståy: how do \' do math!'

u = u.lower()
u.encode('ascii', 'ignore')

p = re.compile('[^a-z\-\s]', re.IGNORECASE)
u = p.sub('', u)

p = re.compile('(\s+)')
u = p.sub('-', u)

print u