this one works quite well on validating email syntax:
http://www.secureprogramming.com/?action="">
regards,
Dimitri
On 7/20/05, Dark Cowherd <[EMAIL PROTECTED]> wrote:
This seems to give reasonable results.
import re
pattern = r'[EMAIL PROTECTED],4}\b'
pattobj = re.compile(pattern)
ps = pattobj.search
if ps(stringtocheck):
But as lots of people have already told you on this list. This should
only be used to give a warning and not prevent the use of that
particular address.
DarkCowherd
--
http://mail.python.org/mailman/listinfo/python-list
--
Please visit dimitri's website: www.serpia.com
-- http://mail.python.org/mailman/listinfo/python-list