Skip to content

brurend/StripHTML

Repository files navigation

StripHTML

Version License Platform

Overview

StripHTML is a category of NSString, written in Objective-c, that remove tags from an HTML string.

Usage

#import <StripHTML/NSString+StripHTML.h>

NSString *htmlString = @"<p> This is a string with tags <p>";
NSString *taglessString = [htmlString removeTags];

Example Project

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

StripHTML supports iOS 8.3+.

Installation

StripHTML is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "StripHTML"

Author

Bruno Rendeiro

License

StripHTML is available under the MIT license. See the LICENSE file for more info.

About

Simple removal of HTML tags from string

Resources

License

Stars

Watchers

Forks

Packages

No packages published