remove_emoji 0.0.9 remove_emoji: ^0.0.9 copied to clipboard
Dart and flutter package accurately replace/remove emojis in text
example/remove_emoji_example.dart
import 'package:remove_emoji/remove_emoji.dart';
void main() {
var remove = RemoveEmoji();
print(remove.clean(
'π€£hπeπlπͺlπoπ³π€π¨βπ¦°π€ΆπΏ π§ββοΈππ₯π―π¦π₯π₯ππ°π§π¨π§πwπ€·ββοΈoπrπ€ͺlπ€¦ββοΈdπΈπ€ππππΎπ€π€©π’ππ‘ππ§ππππ§πππ€ππ₯±'));
// or
print(
'π€£hπeπlπͺlπoπ³π€π¨βπ¦°π€ΆπΏ π§ββοΈππ₯π―π¦π₯π₯ππ°π§π¨π§πwπ€·ββοΈoπrπ€ͺlπ€¦ββοΈdπΈπ€ππππΎπ€π€©π’ππ‘ππ§ππππ§πππ€ππ₯±'
.removEmoji);
// other language
print('5 rue des Γ©coles. la quantinΓ© 75000 Parisπ€£π₯'.removEmojiNoTrim);
// get the regex string
// this function will help you to get the regex string and use it in your own code
print(remove.getRegexString());
}