News for hackers. Stuff that matters.
Re:Valid Email Addresses by dutchbrit on Friday November 30, 2012 @01:48PM (#4854743)
For people validating emails in PHP, use the following code:

filter_var($email, FILTER_VALIDATE_EMAIL);

The actual beast: https://github.com/php/php-src/blob/master/ext/filter/logica...

Re:Valid Email Addresses by ry0ohki on Friday November 30, 2012 @02:44PM (#4855061)
oh wow had no idea that existed, thank you!