I don't deal with regular expressions often. I hope there's someone out there with the right prescription Since my recent move from CDONTS to CDOSYS, I found that the way I previously supported friendly email addresses:(John Doe) john.doe@mydomain.comdoesn't appear "neat" any longer. Recipients used to receive email that read:From: John Doebut now read as:From: John Doe <john.doe@mydomain.com> john.doe@mydomain.comI'm not sure if this started with CDOSYS or not, but I did come across another way of coding the email:John Doe <john.doe@mydomain.com>which appears in the recipient's email as:John Doe <john.doe@mydomain.com>slightly better (but not "John Doe" exactly. This is another issue, but I can live with it). This brings me to the problem. I'm a novice at regular expressions. This expression:^(\(.*\))?\s*[\w-\.]{1,}\@([\da-zA-Z-]{1,}\.){1,}[\da-zA-Z-]{2,3}$
will validate my original email syntax: (optional name) john.doe@mydomain.comI need to find a new regular expression which will validate the new email syntax which has any of 3 forms:John.doe <john.doe@mydomain.com><john.doe@mydomain.com>john.doe@mydomain.comAny regular expression sharpies out there? Thanks.Sam