Click here to Skip to main content
15,879,095 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello guys, I need help.

I am creating a program to extract email addresses from various sources like local files, websites, search engines

like eg: http://www.redscraper.com/emailextractor/

I need help to create this tool, its very urgent.
just give me some idea!

Thanks in advance
Posted
Updated 9-Dec-14 17:30pm
v2
Comments
Sinisa Hajnal 5-Dec-14 6:11am    
Idea: google it.

1 solution

Use a regex:
([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})
Should do it...
 
Share this answer
 
Comments
OriginalGriff 5-Dec-14 6:41am    
Regexes are language independent, so it doesn't matter if you use it in VB, C# or Javascript.

Or are you saying you don't know how to use a regex?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900