var html = “html字符串”;var textstr =html.replace(/<[^>]*>|/g,"");//纯文本
posted on 2018-09-09 23:13 童彪 阅读(267) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 童彪 Powered by .NET 9.0 on Kubernetes