StripHTML is a category of NSString, written in Objective-c, that remove tags from an HTML string.
#import <StripHTML/NSString+StripHTML.h>
NSString *htmlString = @"<p> This is a string with tags <p>";
NSString *taglessString = [htmlString removeTags];
To run the example project, clone the repo, and run pod install
from the Example directory first.
StripHTML supports iOS 8.3+.
StripHTML is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "StripHTML"
Bruno Rendeiro
StripHTML is available under the MIT license. See the LICENSE file for more info.