title: remove unicode emoji using re in python
body: <p>I tried to remove the emoji from a unicode tweet text and print out the result in python 2.7 using</p>
  
  <pre><code>myre = re.compile(u'[\u1F300-\u1F5FF\u1F600-\u1F64F\u1F680-\u1F6FF\u2600-\u26FF\u2700-\u27BF]+',re.UNICODE)
  print myre.sub('', text)
  </code></pre>
  
  <p>but it seems almost all the characters are removed from the text. I have checked several answers from other posts, unfortunately, none of them works here. Did I do anything wrong in re.compile()?</p>
  
  <p>here is an example output that all the characters were removed:</p>
  
  <pre><code>“   '   //./” ! # # # …
  </code></pre>