title: How to remove all no printable characters + Emoji from a string?
body: <p>I want to remove all non printable characters + all Emoji from my String.</p>
  
  <p>I tried with that but it doesn't work properly for Emoji:</p>
  
  <pre><code>public static String removeAllNoAsciiChars(String str) {
          if (!TextUtils.isEmpty(str)) {
              str = str.replaceAll("\\p{C}", "");
          }
          return str;
      }
  </code></pre>
  
  <p>Examples:</p>
  
  <p>"L'alphabet est génial !"</p>
  
  <blockquote>
    <p>Final result expected: "L'alphabet est génial !"</p>
  </blockquote>
  
  <p>"Ça c'est du cœur ❤️ :) !" </p>
  
  <blockquote>
    <p>Final result expected: "Ça c'est du cœur :) !"</p>
  </blockquote>