validating multiple email addresses separated by comma
-
hi all, i want to validate a text box which is used to enter multiple email addresses. can anyone of u tell, is it possible to use regular expression validator? or have to use java script?? kindly give a solution for the above problem. thanks in advance Regards Babu
-
hi all, i want to validate a text box which is used to enter multiple email addresses. can anyone of u tell, is it possible to use regular expression validator? or have to use java script?? kindly give a solution for the above problem. thanks in advance Regards Babu
To validate comma separated values you just have to use a repeating pattern. For a simple example, to verify a string of comma separated characters "a,b,x,y,z", you can use a pattern like "[a-z](,[a-z])*". To use it with email addresses, just substitute the [a-z] set with the pattern for an email address.
--- Year happy = new Year(2007);