Skip to content

guanting112/elixir_remove_emoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remove Emoji

Build Status

It can remove any of the emoji. 💻🔥🤯🚫 您可以透過該套件移除令人困擾的 Emoji 符號。

original_string = "👦👦🏻🇯🇵🇰🇳🇰🇷👦🏼👦🏽👦🏾😄😅😆😇😈😉😊"
sanitized_string = original_string |> RemoveEmoji.sanitize()

# true, :ok
IO.puts "" === sanitized_string

Installation / 安裝方式

請在您的 Elixir 專案裡的 mix.exs 加入以下指令,然後執行 mix deps.get 更新依賴即可。

def deps do
  [
    {:remove_emoji, "~> 1.0.0"}
  ]
end

Demo ( Before / After )

emoji_effect

LICENSE

MIT LICENSE ( See LICENSE.txt )

About

Remove Emoji 😈🈲😱⁉️ ( for Elixir 1.4+ ~ 1.10.x )

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages