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

예전엔  삽질했어야 하는 걸...이 한줄이면 된다...-_-;;
Posted by rainny