什么是以下文本的正则表达式

时间:2015-07-15 15:44:20

标签: python regex

<p class="body">
  Giving the meeting of NITI Aayog in New Delhi a miss, West Bengal Chief        Minister and Trinamool Congress chairperson Mamata Banerjee said in Bardhaman on Wednesday that the Centre should withdraw the land acquisition ordinance.
</p>

只需获取<p class="body"></p>

之间的内容即可

re.search(">(.+?)<",text)返回无

0 个答案:

没有答案