def split_names(voters):
 voters = voters.split(':', 1)[(-1)]
 voters = re.sub('(Senator|Representative)(\\(s\\))?', '', voters)
 voters = re.sub('\\s+', ' ', voters)
 voters = [x.strip() for x in re.split('(?:,\\s(?![A-Z]\\.))|(?:\\sand\\s)', voters)]
 return voters

def split_names ( voters ) : voters = voters . split ( ':' , 1 ) [ ( - 1 ) ] voters = re . sub ( '(Senator|Representative)(\\(s\\))?' , '' , voters ) voters = re . sub ( '\\s+' , ' ' , voters ) voters = [ x . strip ( ) for x in re . split ( '(?:,\\s(?![A-Z]\\.))|(?:\\sand\\s)' , voters ) ] return voters
representative(s) barbuto .