• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 296
  • Last Modified:

Java - extracting email addresses from a web page

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
beavoid
Asked:
beavoid
  • 2
1 Solution
 
CEHJCommented:
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
 
beavoidAuthor Commented:
Thanks, as always
0
 
CEHJCommented:
:)
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now