I have a string that contains one or more email anchors as follows:
1. "this is a text <a title="Send Email"
href="mailto:ma**@mydomain.com">mail@mydomain</a>"
Or something like (In this case the anchor text is not the email
address):
2. "this is a text <a title="Send Email"
href="mailto:ma**@mydomain.com">Send Email</a>"
I need to do the following:
Replace all @ by // and . by / ... In the email address
If the anchor text is an email address replace it by Email and addto the anchor the Css Class "LowReplace"
If the anchor text is not an email address then add to the anchorthe Css Class "Low"
Could someone help me doing this?
Thank You,
Miguel