remove_emoji 0.0.7 remove_emoji: ^0.0.7 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 node 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.removemoji(word));
// without trim
print(remove.removemoji(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.
Contact π§ #
if you have any questions , feel free to wite us on