def _split_input_list(str_list):
 new_list = re.split('[\\n\\r\\s,]', str_list)
 new_list = [s.strip() for s in new_list]
 new_list = [s for s in new_list if (s != '')]
 return new_list

def _split_input_list ( str_list ) : new_list = re . split ( '[\\n\\r\\s,]' , str_list ) new_list = [ s . strip ( ) for s in new_list ] new_list = [ s for s in new_list if ( s != '' ) ] return new_list
separate out individual student email from the comma .