I’d like a reg exp which can take a block of string, and find the strings matching the format:
<a href="mailto:x@x.com">....</a>
And for all strings which match this format, it will extract out the email address found after the mailto:. Any thoughts?
This is needed for an internal app and not for any spammer purposes!
If you want to match the whole thing from :
To fastern and shortern it:
The 2nd matching group will be whatever email it is.
Example:
Output: