Over a million developers have joined DZone.

Java: RegEx To Remove HTML Tags

·
// Ref: https://jalbum.net/forum/thread.jspa?forumID=7&threadID=971&messageID=6907


String noHTMLString = htmlString.replaceAll("\\<.*?\\>", "");

Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}