No GWT magic here - just POJ:

if(!tbEmail.getText().matches("[a-z0-9!#$%&'*+/=?^_`{|}~-]+...bla bla
bla...")) {
   Window.alert("Invalid email");
}

On 17 Nov., 20:06, omsrobert <[EMAIL PROTECTED]> wrote:
> How do you use regular expressions in GWT?  Can someone post a small
> code sample?  I'm looking to validate an e-mail address against a RFC.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to