Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parsing out parts of text file
Message
 
À
04/02/2008 04:36:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01288936
Message ID:
01288953
Vues:
13
>I guess Craig scared me a little when he, at the end of hissession, showed the official expression to evaluate email addresses. :-)

I think that was his plan...here is the simplified version:
** RFC 2822 (Simplified)
.Pattern = "[a-z0-9!#$%&'*+/=?^_`{|}~-]+" +;
           "(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*" +;
           "@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+"+;
           "[a-z0-9](?:[a-z0-9-]*[a-z0-9])?"
;-)

(Note: I didn't figure this out...it is one of the many samples that comes with RegEx Buddy)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform