67,513
社区成员
发帖
与我相关
我的任务
分享
String str="<p>奥斯大声的撒娇达斯科拉抵抗力</p>";
str=str.replaceAll("</?p>", "");
System.out.println(str);
String str="<p></br><A>奥斯大声的撒娇达斯科拉抵抗力</A></p>";
str=str.replaceAll("</?[a-zA-Z]+>", "");
System.out.println(str);