【发布时间】:2015-03-05 08:24:29
【问题描述】:
我有带有传统双引号的大型 HTML 文件,例如 “ 并以 ” 结尾我如何在这些双引号中提取纯文本?
很遗憾quote open和quote close不在同一个p标签中。
我的 HTML 是这样的
<p>“And, as best friends, you would have shopped lots of times before, wouldn’t you? You’re best friends?</p>
<p>---Yes but not before that time, not before she gave birth to Shelby we weren’t shopping as much.</p>
<p>Not as much?</p>
<p>---No.”</p>
最后我想要实现的是我应该用双引号修剪所有标签,以便双引号内的全文将在一个p标签中。
谢谢
【问题讨论】: