title: Splitting Strings in Python with Separator variable
body: <p>I'm trying to write a function to split a string with given separators. I've seen answers to similar questions that have use regular expressions to ignore all special characters, but I want to be able to pass in a variable of separators.</p>
  
  <p>So far I've got:</p>
  
  <pre><code>def split_string(source, separators): 
      source_list = source
      for separator in separators:
          if separator in source_list:
                  source_list.replace(separator, ' ') 
      return source_list.split()
  </code></pre>
  
  <p>But it's not removing the separators</p>