scrape mails from a text file?

Danman123

Regular Member
Joined
Jul 23, 2016
Messages
210
Reaction score
37
Hey guys. i have a file wit 10million emails in it. only problem is, is that there's alot of unnecesary text in the file aswell. Is there a possibillity to extract emails from textfiles?
 
There are numerous ways to do it.

(1) Depending on the format of your source, you can use Search and Replace with text editors like Notepad++ or others like in this video:
There are more guides like this on Youtube.

(2) Then there's a tool called Email Extractor Lite: http://clients.surf7.net/downloads.php?action=displaycat&catid=2
Hosted version can be found for instance here: https://eel.surf7.net.my/
Too big texts will break the browser though.

(3) Another tool to try: http://free.groupfetch.com/products/egrab/index.php

(4) Yet another one: http://www.mediafire.com/file/z7hisdyjq8vuk9f/Maxprog_Email_Verifier_and_Extractor.rar
https://www.virustotal.com/hu/file/...8af80cb0c2bfd399da9d0bbe/analysis/1491552671/
 
Last edited:
There are numerous ways to do it.

(1) Depending on the format of your source, you can use Search and Replace with text editors like Notepad++ or others like in this video:
There are more guides like this on Youtube.

(2) Then there's a tool called Email Extractor Lite: http://clients.surf7.net/downloads.php?action=displaycat&catid=2
Hosted version can be found for instance here: https://eel.surf7.net.my/
Too big texts will break the browser though.

(3) Another tool to try: http://free.groupfetch.com/products/egrab/index.php
Pmed you!
 
use scrapebox. import & remove urls from file not containing @.
 
You can use Node.js as well. create a bot and just run this function:

function extractEmails(str){
if (str.match(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9._-]+)/gi)){
var matches = str.match(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9._-]+)/gi);
for (var m=0;m<matches.length;m++){
if (matches[m].substring(0,1) == '-'){
matches[m] = matches[m].substring(1);
}
}
return matches.join(',');
} else {
return null;
}
return email;
}
 
Back
Top