L
Les Caudle
I'd been using
[\w\.-]+(\+[\w-]*)?@([\w-]+\.)+[\w-]+
as the validator for an email address.
If the user enters a leading or trailing space, the email is invalid.
1. How exactly does one trim leading/trailing spaces with a
RegularExpressionValidator?
2. Even though no complaints on email being invalid besides this - are there
better validation strings for emails?
[\w\.-]+(\+[\w-]*)?@([\w-]+\.)+[\w-]+
as the validator for an email address.
If the user enters a leading or trailing space, the email is invalid.
1. How exactly does one trim leading/trailing spaces with a
RegularExpressionValidator?
2. Even though no complaints on email being invalid besides this - are there
better validation strings for emails?