擅长:python、mysql、java
<pre><code>kk = 'test:[abc:123];something\r\nName=some name;phone no.: [123456]\r\nAddress: some address; another address\r\n\r\n'
lk = "\n".join(kk.split("\r\n"))
print lk
</code></pre>
<p><strong>输出:</strong></p>
<pre><code>test:[abc:123];something
Name=some name;phone no.: [123456]
Address: some address; another address
</code></pre>