How to use Python to split on a specific comma
<p>I have a txt file like this:</p>

<pre><code>"Adler; David L. (San Jose, CA)", 
"Albert; Richard D. (San Ramon, CA)", "Albert; Richard D. (San Ramon, CA) , Reyna; David L. (San Ramon, CA)", 
"Amano; Masaharu (Ibaraki, JP )"
</code></pre>

<p>this is a file that of people's name and (their city + their state).</p>

<p>and Now I will have to seperate everyrecord one by one.</p>

<p>like this:</p>

<pre><code>Adler; David L. (San Jose, CA)

Albert; Richard D. (San Ramon, CA)

Albert; Richard D. (San Ramon, CA)

Reyna; David L. (San Ramon, CA)

Amano; Masaharu (Ibaraki, JP )
</code></pre>

<p>and How can I realize this?
I'm not familiar with re so how could we sovle this with re for example?
that is we will divid the word by the  following index like two kinds of comma:</p>

<p>1.</p>

<pre><code>"Adler; David L. (San Jose, CA)", 
  "Albert; Richard D. (San Ramon, CA)"
</code></pre>

<p>into:</p>

<pre><code>Adler; David L. (San Jose, CA)

Albert; Richard D. (San Ramon, CA)
</code></pre>

<p>2.<code>Albert; Richard D. (San Ramon, CA) , Reyna; David L. (San Ramon, CA)</code></p>

<p>into:</p>

<pre><code>Albert; Richard D. (San Ramon, CA)

Reyna; David L. (San Ramon, CA)
</code></pre>

<p>thank you!</p>
