Most viewed recipes tagged "string_parsing" Code RecipesSplit Strings w/ Multiple Separators (Python) 2011-03-20T20:33:13-07:00Kenneth Reitz <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> Split a string on capitalized / uppercase char using Python (Python) 2009-12-11T23:16:36-08:00activestate <p style="color: grey"> Python recipe 576984 by <a href="/recipes/users/4172588/">activestate</a> (<a href="/recipes/tags/string/">string</a>, <a href="/recipes/tags/string_parsing/">string_parsing</a>, <a href="/recipes/tags/text_processing/">text_processing</a>). Revision 6. </p> <p>By user <a href="" rel="nofollow"></a> in comment on <a href="" rel="nofollow"></a> but modified slightly.</p> <p>Splits any string on upper case characters.</p> <p>Ex.</p> <pre class="prettyprint"><code>&gt;&gt;&gt; print split_uppercase("thisIsIt and SoIsThis") this Is It and So Is This </code></pre> <p>note the two spaces after 'and'</p>