grab-emails
v1.0.2
Published
Extract emails from multiline string
Downloads
2
Readme
Grab emails
Extract emails from multiline string
Installing
npm install --save grab-emails
Usage
const grabEmails = require("grab-emails");
const emailList = grabEmails(`
first email: [email protected]
2nd email: [email protected]
`);
console.log(emailList);
Output
[ '[email protected]', '[email protected]' ]
Running the tests
npm run test
License
This project is licensed under the MIT License - see the LICENSE file for details