I want to remove the anchor tag only if the anchor value is Email
the follwoing is source.
Expand|Select|Wrap|Line Numbers
- $text = "Forwarded message from <a href=\"/default/imp/compose.php?to=emsroot%40bdcarchive.in\" title=\"New Message emsroot@bdcarchive.in\">emsroot@bdcarchive.in</a><br>
- Subject: test message<br />
- To: <a href=\"/default/imp/compose.php?to=user1%40lakhi.com\" title=\"New Message to user1@lakhi.com\"> user1@lakhi.com </a><br />
- Cc: <a href=\"/default/imp/compose.php?to=user2%40lakhi.com\" title=\"New Message to user2@lakhi.com\"> user2@lakhi.com </a><br />
- BCC: <a href=\"/default/imp/compose.php?to=user2%40lakhi.com\" title=\"New Message to user.user3@lakhi.com\"> user3@lakhi.com </a><br />" ;
where ever the email with link,i want to display only email with our link.
Any suggetion or help would be appreciate.
Thanks inadvance