cindyxiaoxiaoli

cindyxiaoxiaoli / EmailExtractor / 0.2.0

README.md

​Email Extractor/Parser

Given a piece of text, this API extracts all the emails from it.

Handles cases where there are dots or special characters in the email.

This API does not check the validity of the email.

Examples

Input:

"Contact John by email: test.user@whatever.com or test_user888@whatever2.net.com"​

Output:

​['test.user@whatever.com', 'test_user888@whatever2.net.com']

Credit

dideler's gist