remove_emoji 0.0.10 copy "remove_emoji: ^0.0.10" to clipboard
remove_emoji: ^0.0.10 copied to clipboard

Dart and flutter package accurately replace/remove emojis in text

Remove Emoji 😒

Dart package accurately replace/remove emojis in text. Remove-emoji heavily inspired by NodeJS package emoji-regex.

Usage #

A simple usage example:

import 'package:remove_emoji/remove_emoji.dart';

void main() {
  var word = '🀣h😌eπŸ™„lπŸ˜ͺlπŸ˜“oπŸ˜³πŸ€”πŸ‘¨β€πŸ¦°πŸ€ΆπŸΏ πŸ§β€β™‚οΈπŸπŸ₯˜πŸŒ―🍦πŸ₯‚πŸ₯‚πŸŽ‚πŸ°πŸ§πŸ¨πŸ§πŸ˜wπŸ€·β€β™‚οΈo😎rπŸ€ͺlπŸ€¦β€β™‚οΈdπŸΈπŸ€‘πŸ˜†πŸ˜–πŸŽ‰πŸΎπŸ€ŸπŸ€©πŸ˜’πŸ­πŸ˜‘πŸ˜πŸ“§πŸ˜„πŸ˜”πŸ˜‡πŸ§πŸ˜ˆπŸ™πŸ€“πŸ™‚πŸ₯±';
  var remove = RemoveEmoji();

  //  with trim
  print(remove.clean(word));

  // without trim
  print(remove.clean(word,'', false));

  // or use extension πŸ€“

  // with trim
  print(word.removEmoji);
 // without trim
 print(word.removEmojiNoTrim);
}

output

hello world
hello world

Contribution #

Happy 😍 to recieve or provide contributions related to this package.

Features and bugs #

Please file feature requests and bugs at the issue tracker.

39
likes
160
points
8.08k
downloads

Publisher

verified publishern4ze3m.site

Weekly Downloads

Dart and flutter package accurately replace/remove emojis in text

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on remove_emoji