Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing out parts of text file
Message
 
To
04/02/2008 04:36:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01288936
Message ID:
01288953
Views:
12
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform