email edit
Nancy Palmquist
nlp at vss3.com
Tue Oct 31 07:06:52 PST 2006
Jean-Pierre A. Radley wrote:
> Surely someone has concocted an email edit?
>
JP,
One I have used is the following:
email: [{!" "!}] { {A} | {N} | clean }
clean: {!">"! | !","! | !"$"! | !"%"! | !"<"! | !"?"! | !"#"! | * }
That eliminated most of the garbage, but I recently ran across a company
that allowed their email addresses to contain apostrophes, a real bad
character in my view. Hard to edit for in filePro.
But maybe this would be better:
some: {{A} | {N} | clean}
email: [{!" "!}] some "@" some "." some
Just include in the CLEAN edit all the characters that are never allowed
in any part of an email address. You are not able to check for
apostrophes or quotes, but all others will work.
Domains are hard to restrict, they keep adding new ones so I try not to
worry about it.
Hope this helps.
Nancy
--
Nancy Palmquist MOS & filePro Training Available
Virtual Software Systems Web Based Training and Consulting
PHONE: (412) 835-9417 Web site: http://www.vss3.com
More information about the Filepro-list
mailing list