def multiple_split(source_string, separators, split_by = '\n'):
  """
  This function allows the user to split a  string by using different
  separators.

  Note: This version is faster than using the (s)re.split method (I tested it
  with timeit).

  Parameters:
  * source_string: string to be splitted
  * separators: string containing the characters used to split the source
    string.
  * split_by: all the ocurrences of the separators will be replaced by this
    character, then the split will be done. It defaults to '|' (pipe)
  """
  translate_to = split_by * len(separators)
  translation = str.maketrans(separators, translate_to)
  return source_string.translate(translation).split(split_by)