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

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);
  // chinese characters
  print('ไฝ ๅฅฝ๐Ÿ™„ไธ–็•Œ๐ŸŒฌ๐ŸŒซ๐ŸŒจโ›ˆโ›ˆ๐ŸŒจ'.removEmoji);
  // japanese characters
  print('ใ“ใ‚“ใซ๐Ÿ™„ใกใฏไธ–็•Œ๐ŸŒฌ๐ŸŒซ๐ŸŒจโ›ˆโ›ˆ๐ŸŒจ'.removEmoji);
  // arabic characters
  print('ู…ุฑุญุจุง ุจุง๐Ÿ™„๐Ÿ™„ู„ุนุงู„ู…๐ŸŒฌ๐ŸŒซ๐ŸŒจโ›ˆโ›ˆ๐ŸŒจ'.removEmoji);
  // russian characters
  print('ะŸั€ะธ๐Ÿ™„๐Ÿ™„ะฒะตั‚ ะผะธั€๐ŸŒฌ๐ŸŒซ๐ŸŒจโ›ˆโ›ˆ๐ŸŒจ'.removEmoji);
  // malayalam characters
  print('เดน๐Ÿ™„๐Ÿ™„เดฒเต‡เดพ เดฒเต‡เดพเด•เด‚๐ŸŒฌ๐ŸŒซ๐ŸŒจโ›ˆโ›ˆ๐ŸŒจ'.removEmoji);
  // hindi characters
  print('เคจเคฎเคธเฅเคคเฅ‡ เคฆเฅเคจเคฟ๐Ÿ™„๐Ÿ™„เคฏเคพ๐ŸŒฌ๐ŸŒซ๐ŸŒจโ›ˆโ›ˆ๐ŸŒจ'.removEmoji);
  // ukranian characters
  print('ะŸั€๐Ÿ™„๐Ÿ™„ะธะฒั–ั‚ ัะฒั–ั‚๐ŸŒฌ๐ŸŒซ๐ŸŒจโ›ˆโ›ˆ๐ŸŒจ'.removEmoji);
  // spanish characters
  print('Hola M๐Ÿ™„๐Ÿ™„undo๐ŸŒฌ๐ŸŒซ๐ŸŒจโ›ˆโ›ˆ๐ŸŒจ'.removEmoji);
  // tamil characters
  print('เฎน๐Ÿ™„๐Ÿ™„เฎฒเฏ‡เฎพ เฎ‰เฎฒเฎ•เฎฎเฏ๐ŸŒฌ๐ŸŒซ๐ŸŒจโ›ˆโ›ˆ๐ŸŒจ'.removEmoji);
  // vietnamese characters
  print('Xin chร o thแบฟ giแป›i๐ŸŒฌ๐ŸŒซ๐ŸŒจโ›ˆโ›ˆ๐ŸŒจ'.removEmoji);
  // thai characters
  print('เธช๐Ÿ™„๐Ÿ™„เธงเธฑเธชเธ”เธตเธŠเธฒเธงเน‚เธฅเธ๐ŸŒฌ๐ŸŒซ๐ŸŒจโ›ˆโ›ˆ๐ŸŒจ'.removEmoji);
  // korean characters
  print('์•ˆ๐Ÿ™„๐Ÿ™„๋…•ํ•˜์„ธ์š” ์„ธ๊ณ„๐ŸŒฌ๐ŸŒซ๐ŸŒจโ›ˆโ›ˆ๐ŸŒจ'.removEmoji);
  // flags
  print('๐Ÿ‡ฉ๐Ÿ‡ฒtest'.removEmoji);
  // get the regex string
  print(remove.getRegexString());
}
39
likes
160
pub points
93%
popularity

Publisher

verified publishern4ze3m.site

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