I want to validate a string which can be an email or multiple emails separated by commas.
For example:
bill.gates@hotmail.com -> TRUE bill -> FALSE
Use var result = value.split(","). You end up with an array.
var result = value.split(",")