import re
content="sdfdsf<title>aaaaa</title>ssss"
ss = re.search(r"<title>(.*?)</title>", content)
print(ss.group(1))

 

相关文章:

猜你喜欢
  • 2022-12-23
  • 2021-08-11
  • 2021-05-18
  • 2022-12-23
  • 2021-12-01
相关资源
相似解决方案