Last updated:
0 purchases
remove emoji
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);
}
copied to clipboard
output
hello world
hello world
copied to clipboard
Contribution #
Happy π to recieve or provide contributions related to this package.
Features and bugs #
Please file feature requests and bugs at the issue tracker.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.