Solved

Java - extracting email addresses from a web page

Posted on 2013-05-25
3
291 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
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:

630 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