This is from a library entry in RegExBuddy. <quote> Email address: RFC822 This beast of a regular expression matches an email address that adheres to the RFC 822 standard. Using this regular expression in actual applications is NOT recommended. It is shown to illustrate that with regular expressions there's always a trade-off between what's exact and what's practical. </quote>
The expression that follows is 6344 characters long. If anyone wants to see it, let me know and I'll email it offline... Ted Roche wrote: > On 5/9/07, Steve Ellenoff <[EMAIL PROTECTED]> wrote: > >> Does anyone have some nearly fullproof code to validate an email >> address for proper syntax? >> > > The problem with "foolproof" is that the fools are so clever ;) > > Email address validation is a nearly impossible task. There's a three > page artile in the most recent Linux Journal, iirc, on a PHP solution > that's _nearly_ 100% successful. > -- Richard Kaye Vice President Artfact/RFC Systems Voice: 617.219.1038 Fax: 617.219.1001 For the fastest response time, please send your support queries to: Technical Support - [EMAIL PROTECTED] Australian Support - [EMAIL PROTECTED] Internet Support - [EMAIL PROTECTED] All Other Requests - [EMAIL PROTECTED] --------------------------------------------------------- This message has been checked for viruses before sending. --------------------------------------------------------- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

