-
-
Save nelsonjiao/9ec5044b153bff7db5e7c1951f89f528 to your computer and use it in GitHub Desktop.
Very simplistically remove HTML tags from strings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static String stripTags(String input) { | |
return input.replaceAll("\\<.*?>",""); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment