(30 Jul 2005 23:14:00 -0700), orekinbck@yahoo.com.au :
>I have spent alot of time trying to get a masked text box to validate
>e-mails, but with no success. Mainly because I can't figure out how to
[quoted text clipped - 4 lines]
> billwallis@hta.com.au
> bill.wallis@hta.com.au
Using a MaskedTextBox for email entry is not a good idea. This
component is at his best when it deals with hard-formatted
expressions, like a zipcode or a date.
>In the end I used a standard text box with a lenient regular expression
>to validate it.
>
>Is that the right appraoch or can I get e-mails working with Masked
>Text Boxes?
Yes, you should use a TextBox (with an ErrorProvider component if you
like it). Here is a pretty good regex to validate emails :
"^[^@]+@([-\\w]+\\.)+[A-Za-z]{2,4}$"

Signature
Maddly
orekinbck@yahoo.com.au - 01 Aug 2005 00:36 GMT