Get Email

S

shapper

Hello,

I have a string, named body, that contains some HTML code.

I need to find all anchors from body that contains an email address
like:

<a title="Send Email" href="mailto:[email protected]">Send Email</a>

Then I need to remove it from body and add it to a list adding also
the position on the body where it was.

How can I do this?

Thanks,
Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top