Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import re
- highpoints = re.compile(u'[\U00010000-\U0010ffff]')
- s = '\xF2\xAF\xB6\xA2'.decode('utf8')
- highpoints.sub(u'', s)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement