Welcome To Snipplr
Everyone's Recent Regular Expression Snippets Tagged email
- All /
 - JavaScript /
 - HTML /
 - PHP /
 - CSS /
 - Ruby /
 - Objective C
 
 « Prev 1 Next »
There are multiple ways of checking email adresses about their validity. This script is based on RFC 2822.
Please note that based on RFC 2822 [email protected] is considered valid.
The second snippet is the one I prefer, which only accepts T...
        
        
        
            2 
        
        
            3181 
        
                    posted 16 years ago by pacey
            This regular expression will match almost all valid email addresses. Omits email addresses containing double-quotes and square brackets, which while valid according to [RFC 2822][rfc2822], are almost never used.
[rfc2822]: http://tools.ietf.org/ht...
        
        
        
            2 
        
        
            1570 
        
                    posted 16 years ago by chrisdpratt
            This email snippet was borrowed from (FlashJunior), the original snippit is:  http://snipplr.com/view/7743/email-check/
        
        
        
            0 
        
        
            944 
        
                    posted 16 years ago by binarynomad
             « Prev 1 Next »