<?php
function autoEmail($text)
{
return preg_replace("/([a-z0-9_.-])+@(([a-z0-9-])+.)+([a-z0-9]{2,4})+/i",
'<a href="mailto:$0">$0</a>', $text);
}
?>
<?php
function autoEmail($text)
{
return preg_replace("/([a-z0-9_.-])+@(([a-z0-9-])+.)+([a-z0-9]{2,4})+/i",
'<a href="mailto:$0">$0</a>', $text);
}
?>