Solved

Java - extracting email addresses from a web page

Posted on 2013-05-25
3
290 Views
Last Modified: 2013-06-02
Hi

In Java - If I supply a URL to a method, how do I return a list of all the email addresses contained in that page? .net .com and .org .edu .HTML or .PHP, .ASP, others?

Thanks
0
Comment
Question by:beavoid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 39196844
If it's a straightforward page, you can use the jdk classes:

http://augustli.wordpress.com/2010/08/07/extracting-links-from-html-using-swing-htmleditorkit/
0
 

Author Closing Comment

by:beavoid
ID: 39213824
Thanks, as always
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39214006
:)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question