java 过滤字符串中的html标签

str.replaceAll("\\<.*?>", "").replaceAll("\\n","").replaceAll("\\t","").replaceAll("\\r",""))
posted @ 2019-05-07 11:38  《》  阅读(1461)  评论(0编辑  收藏  举报