Regex in Javascript to remove links

后端 未结 6 1725
南旧
南旧 2020-12-06 17:22

I have a string in JavaScript and it includes an a tag with an href. I want to remove all links and the text. I know how to just r

6条回答
  •  离开以前
    2020-12-06 17:30

    Just commented about John Resig's HTML parser. Maybe it helps on your problem.

提交回复
热议问题