thanks Col!

I'm wondering with this approach;

PHP Code:
    RegExValidator myEmailValidator = new RegExValidator("^(\\w+)([-+.][\\w]+)*@(\\w[-\\w]*\\.){1,5}([A-Za-z]){2,4}$""Email");
    
email.getValidators().add(myEmailValidator); 

Will I be able to use the validator multiple times? Or do I need a separate validator for an additional email CC field?

PHP Code:
emailCc.getValidators().add(myEmailValidator);