The one containing @hotmail.com is easiest...
="(^\w+([-+.]\w+)*@hotmail.com)(?!)"
the one eliminating hotmail would be a little trickier but something like this should work...
="(^\w+([-+.]\w+)*@~(hotmail.com)(\w+([-.]\w+)*\.\w{2,}$))(?!)"
the ~() is your don't match piece...
Cheers,
AJ
Arie D. Jones (AJ)
Principal Technology Manager
Perpetual Technologies, Inc.
Blog:
ProgrammersEdge.comCompany Website:
perptech.com