var str = 'add<a>daad</a><p>fsdada</p>'
str.replace(/<[^<>]+>/g,'')

 

相关文章:

  • 2022-12-23
  • 2022-01-16
  • 2021-07-11
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2021-12-08
相关资源
相似解决方案