Human: Python: Split string by list of separators Assistant: 
Here is some code to split a string `a , b; cdf`  using both commas and semicolons as delimeters

re.split('\\s*,\\s*|\\s*;\\s*', 'a , b; cdf')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.