用正则表达式啊public class Regex {
public static void main(String[] args) {
String str = "<strong>4月11日消息</strong>,<em>据外电</em>报道,美国知名< font color=\"#ff00ff\">防病毒软</font>件厂商McAfee日前表示,微软的OneCare Live安全产品不会对McAfee的业务构成威胁。提供安全服务需要专一和专业,不<span id=\"news_article_ad1\"></span>是<u>兼职能</u>够做好的。";
System.out.println(str.replaceAll("<[^>]*>", ""));
}
}