抓取一个网站后得到一个字符串
'<p class="NewsItemContent" style="font-size: 18px;">;As of March 18, 1999,
6 p.m. Pacific Daylight Time, there are a total of 70;events and 16;planned
in this area. This total does not include adjacent cities.</p>'
我怎么能解析出70,16。 只是想要一种更健壮的方式。措辞可能会有一点变化,但总是总共{};事件和{};计划。 谢谢
这不是一个非常干净的解决方案,但我们现在开始:
相关问题 更多 >
编程相关推荐