Wow, even better. Thanks.
>
> It's a standard build in validation of the validator see
> http://struts.apache.org/userGuide/dev_validator.html
>
> Gr,
> Bram
>
> I'm looking for a regular expression or something I can plug into Struts
> 1.2 to validate e-mail addresses off of a DynaForms. Anyone
What is the matter with the Struts Validator? Can't you use it? It's easy.
[EMAIL PROTECTED] escreveu:
I'm looking for a regular expression or something I can plug into Struts
1.2 to validate e-mail addresses off of a DynaForms. Anyone have any
pointers?
Thanks.
>
> Never mind. I found this one on an ASP.Net page:
>
> [EMAIL PROTECTED],3}
This wont verify the mailid: [EMAIL PROTECTED]
This will. This can be made more strict by checking the length, like Bryon
has done.
(\\S+)(@)(\\S+)(\\.)(\\S+)((.)(\\S+))*
regards,
vijay.
-
It's a standard build in validation of the validator see
http://struts.apache.org/userGuide/dev_validator.html
Gr,
Bram
I'm looking for a regular expression or something I can plug into Struts
1.2 to validate e-mail addresses off of a DynaForms. Anyone have any
pointers?
Thanks.
---
> I'm looking for a regular expression or something I can plug into Struts
> 1.2 to validate e-mail addresses off of a DynaForms. Anyone have any
> pointers?
>
>
Never mind. I found this one on an ASP.Net page:
[EMAIL PROTECTED],3}
it is good enough for my needs.
5 matches
Mail list logo