Ok guys, put on your thinking caps!! Haha, kidding.
Can anyone think of a quick and efficient way to search through an entire variable and anytime there's an email address, link it.
example:
$message = "Hello. My name is John, and my email address is john @ john.com and my sisters email address is sister @ john.com";
The result should be:
Hello. My name is John, and my email address is <a href="john@john.com">john@john.com</a> and my sisters email address is <a href="sister@john.com">sister@john.com</a>
Let me know if I'm not being clear. Thanks!!
Lisa