Popular recipes by Kenneth Reitz http://code.activestate.com/recipes/users/4177394/2011-03-20T20:33:13-07:00ActiveState Code RecipesSplit Strings w/ Multiple Separators (Python)
2011-03-20T20:33:13-07:00Kenneth Reitzhttp://code.activestate.com/recipes/users/4177394/http://code.activestate.com/recipes/577616-split-strings-w-multiple-separators/
<p style="color: grey">
Python
recipe 577616
by <a href="/recipes/users/4177394/">Kenneth Reitz</a>
(<a href="/recipes/tags/split/">split</a>, <a href="/recipes/tags/string/">string</a>, <a href="/recipes/tags/string_parsing/">string_parsing</a>).
Revision 5.
</p>
<p>Splits strings with multiple separators instead of one (e.g. <code>str.split()</code>).</p>