String text = “<p>lahobjojbblj</p>”
text = text.replaceAll("</?[^>]+>", "");
text = text.replaceAll("\\s*|\t|\r|\n", "");
去除字符串中的html标签
猜你喜欢
转载自blog.csdn.net/wang_97/article/details/85063163
今日推荐
周排行