Email Address Pattern Matching

Gordon, Kevin Kevin.Gordon at seacontainers.com
Thu Aug 31 08:47:25 CDT 2006


Here's what I came up with last time I did this:

"(^|#|!_|!-|!.)>!@((^|#|!_|!-)>!.)>^>"

I haven't reanalysed it but it did the job at the time!
 
Kevin Gordon
Sea Containers Information Services


________________________________

From: powerh-l-bounces+kevin.gordon=seacontainers.com at lists.sowder.com
[mailto:powerh-l-bounces+kevin.gordon=seacontainers.com at lists.sowder.com
] On Behalf Of Jim Hamer
Sent: 31 August 2006 14:23
To: Powerhouse
Subject: Email Address Pattern Matching



Greeting Listers,

 

I'm trying to develop a pattern match for a generic e-mail address to
put in the Pattern for the e_mail_address element in the dictionary.
Here's what I have so far:

 

"(^|!.|#)*!@(^|#)*!.(^|#)*"

 

That is, (any character or decimal or digit) repeating and then the
character @ and then (any character or digit) repeating and then the
character . and then (any character or digit) repeating.

 

I think this will do but I wonder if there is a more comprehensive
pattern that I should be using. My purpose is to catch typos by the
office staff (spaces, for example).

 

Thanks,

Jim

 

Jim Hamer

 

jhamer at milk.org

(905) 821-8970 ext 233

 

jim.hamer at hamerdata.com

(416) 489-3298

 

www.hamerdata.com

 

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________


This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20060831/67b09f86/attachment.htm


More information about the powerh-l mailing list