求正则表示式去除html标签的样式保留img标签的src
String html = "<table><p style="text-align: center"> <span><a href="/picture/0/1309131759193174664.JPG">" +
"<img border="0" alt="" src="/picture/0/s1309131759193174664.JPG" /></a></span></p></table>";
String s = html.replaceAll("(\\<\\w+\\s*)[^\\>]*", "$1");
System.out.println(s);