HTML 태그 제거

Posted 2008. 10. 15. 14:19 by maxmini MAXMINI

    String textWithoutTag = hotCONTENT.replaceAll("<(/)?([a-zA-Z]*)(\\s[a-zA-Z]*=[^>]*)?(\\s)*(/)?>", "");
 textWithoutTag = textWithoutTag.replaceAll(" ", "");

Tag : , ,

Write your message and submit
« PREV : 1 : 2 : 3 : 4 : 5 : 6 : 7 : NEXT »