Thanks everyone for their replies. -----Original Message----- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 3:42 PM To: RegEx Subject: RE: Bulletproof Email Regex
I use a number of different things based on where it's needed. The below looks good, while not being 100% RFC compliant (the RFC does not specify that an address has to start with a letter) Also, the extension at the end is not 100% valid as there are domain extensions of more than 4 letters (museum). As I'm cleaning up my code and putting it into full CFMX and CF-OO, I'll start posting my functions up. I have not done so in the past due to lack of documentation. At least documentation meant for others. :) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:21:835 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/21 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:21 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
