//去掉html中的图片
String regEx_image = "(<img.*src\\s*=\\s*(.*?)[^>]*?>)";
Pattern p_script = Pattern.compile(regEx_image, Pattern.CASE_INSENSITIVE);
Matcher m_script = p_script.matcher(text);
text = m_script.replaceAll("");

05-14 06:52