Tag: 正则表达式html预览模式: 普通 | 列表
08-03
31

java 正则表达式过滤html元素

这是我写的一个过滤html元素的程序,也许对大家有点帮助!
/**
     * filter all html element.
     * For example:<a href="www.sohu.com/test">hello!</a>
     * The filter result is :hello!
     * Notice:This method filter the text between "<" and ">"
     * @param element
     * @return
     */

查看更多...

Tags: 正则表达式html 过滤

分类:学习 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 651