public String removeHtmlTags() { String str = " welcome to test"; String pattern = "\\<.*?\\>"; String target = str.replaceAll(pattern, ""); Return target; }
welcome to test