extract_email 0.0.1
extract_email: ^0.0.1 copied to clipboard

Flutter Android iOS web

New dart package which returns List of emails from given text.

extract_email #

New dart package which returns List of emails from given text.

Getting Started #

String txt = 'This is example test@domain.com emails and mi@ac.in';
final mails = ExtractEmail();
List emailList = mails.getMail(text: txt);

Example #

import 'package:extract_email/extract_email.dart';

void main() {
  //prepare your string
  String txt = 'This is example test@domain.com emails and mi@ac.in';
  //create object of ExtractMail class
  final mails = ExtractEmail();
  //use getMail method to generate list of emails from String
  List emailList = mails.getMail(text: txt);
  //use the mails for your task
  for (var mail in emailList) {
    print(mail);
  }
}
//Output
//test@domain.com
//mi@ac.in

0
likes
110
pub points
0%
popularity

New dart package which returns List of emails from given text.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

4gpradeep@gmail.com

License

MIT (LICENSE)

More

Packages that depend on extract_email