<p>我试图使用beautifulsoup从html代码中删除<code>br</code>标记。在</p>
<p>html例如:</p>
<pre><code><span class="qualification" style="font-size:14px; font-family: Helvetica, sans-serif;">
Doctor of Philosophy ( Software Engineering ), Universiti Teknologi Petronas
<br>
Master of Science (Computer Science), Government College University Lahore
<br>
Master of Science ( Computer Science ), University of Agriculture Faisalabad
<br>
Bachelor of Science (Hons) ( Agriculture ),University of Agriculture Faisalabad
<br></span>
</code></pre>
<p>我的python代码:</p>
^{pr2}$
<p>问题是之前的代码只获得第一个限定。在</p>