I'm developing a forum, and I don't want people to post an email address. I don' mind if they can insert the address into the database when they post the message.
But when I display the stored messsage, how can I detect if an email address is within the mesage text and ban it from being published?? I need some fuction where i can detect "email-look-like" strings, for instance "h0tmail", "h o t m a i l", "something@something.something" etc... and instead of it displaying ##### characters.
Any ideas? I'ven been researching over the interner but found nothing. I think that this function can be very helpful to prevent spam as well.