【转】过滤HTML标签的正则表达式
String regEx_html = "<[^>]+>"; // 定义HTML标签的正则表达式 String regEx_script = "<[\s]*?script[^>]*?>[\s\S]*?<[\s]*?\/[\s]*?script[\s]*?>"; // 定义script的正则表达式{或<script[^>]*?>[\s\S]*?<\/script>
String regEx_html = "<[^>]+>"; // 定义HTML标签的正则表达式 String regEx_script = "<[\s]*?script[^>]*?>[\s\S]*?<[\s]*?\/[\s]*?script[\s]*?>"; // 定义script的正则表达式{或<script[^>]*?>[\s\S]*?<\/script>