正则替换html

'<a>12412412</a>'.replace(/<[^>]+>/g, "")
posted @ 2022-03-11 09:07  real_zwj  阅读(13)  评论(0编辑  收藏  举报