Created
April 28, 2011 14:22
-
-
Save atbradley/946440 to your computer and use it in GitHub Desktop.
Very simplistically remove HTML tags from strings.
This file contains 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