Email Address Pattern Matching
Jim Hamer
jhamer at milk.org
Thu Aug 31 08:22:52 CDT 2006
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20060831/3f2d0336/attachment.html
More information about the powerh-l
mailing list