sven klaus: RegExp für Email Validierung

Beitrag lesen

Nachtrag:

Warum möchtest du denn die email-Adresse(*) validiert haben? Beantworte dir zuerst diese Frage. Dann denke über weitere Schritte nach. Bedenke: theoretisch gibt es _sehr viele_ gültige Email-Adressen, die trotzdem keinen Besitzer haben.

*
"Newly coined nonce words of English are often spelled with a hyphen, but the hyphen disappears when the words become widely used. For example, people used to write 'non-zero' and 'soft-ware' instead of 'nonzero' and 'software'; the same trend has occurred for hundreds of other words. Thus it's high time for everybody to stop using the archaic spelling 'e-mail'. Think of how many keystrokes you will save in your lifetime if you stop now! The form 'email' has been well established in England for several years, so I am amazed to see Americans being overly conservative in this regard. (Of course, 'email' has been a familiar word in France, Germany, and the Netherlands much longer than in England --- but for an entirely different reason.)"

Donald Knuth