How to remove tags from a string in python using regular expressions? (NOT in HTML)

前端 未结 6 1149
终归单人心
终归单人心 2020-12-07 23:22

I need to remove tags from a string in python.

Title

What is the most effici

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-08 00:14

    If it's only for parsing and retrieving value, you might take a look at BeautifulStoneSoup.

提交回复
热议问题