Hello,
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 il@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 il@mydomain.com ">Send Email</a>"
I need to do the following:
to the anchor the Css Class "LowReplace "
the Css Class "Low"
Could someone help me doing this?
Thank You,
Miguel
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 il@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 il@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 add
If the anchor text is not an email address then add to the anchor
Could someone help me doing this?
Thank You,
Miguel
Comment