2022年9月21日

java去掉html标签,只留文本内容

摘要: public static String delHTMLTag(String htmlStr){ String regEx_script="<script[^>]*?>[\\s\\S]*?<\\/script>"; //定义script的正则表达式 String regEx_style="<styl 阅读全文

posted @ 2022-09-21 14:49 zyp_java_net 阅读(73) 评论(0) 推荐(0) 编辑

导航