remove_emoji

Function remove_emoji 

Source
pub fn remove_emoji(s: &str) -> String
Expand description

Removes emoji characters from a string using a regular expression.

This implementation uses the regex crate with Unicode property support. It targets characters with the Emoji_Presentation or Extended_Pictographic properties, which cover most standard emojis.

§Arguments

  • s - The string to process

§Returns

A new string with emoji characters removed.