jQuery in Action, 3rd edition
The moose likes XML and Related Technologies and the fly likes Extract email address from xhtml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Extract email address from xhtml file" Watch "Extract email address from xhtml file" New topic

Extract email address from xhtml file

Sondes Daoud

Joined: Aug 30, 2013
Posts: 2
I want to extract the email addresses from xhtml pages using JDOM or any similair api but i could'nt find the right expression of the xpath to do it.
Do you have any idea or suggestions ? Please??
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15042

Without knowing what the XML looks like (where are those e-mail addresses? in which element or attribute?) we can't tell you an XPath expression to get at them.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link: http://aspose.com/file-tools
subject: Extract email address from xhtml file
It's not a secret anymore!