擅长:python、mysql、java
<p>拆分工作正常:</p>
<pre><code> l = 'test:[abc:123];something\r\nName=some name;phone no.: [123456]\r\nAddress: some address; another address\r\n\r\n'.split("\r\n")
In [14]: for line in l:
....: print line
....:
test:[abc:123];something
Name=some name;phone no.: [123456]
Address: some address; another address
</code></pre>