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
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