0x4455414C / removetags

removes html tags in a string

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Escape Square Brackets

Escapes square brackets in a string, useful for queries and other such things.

Install

$ npm install removetags

Usage

removetags(string)

In JS

var removetags = require('removetags');
input = "hello <em>world</em>, how are you?";
input = removetags(input);

Output

hello world, how are you?

About

removes html tags in a string


Languages

Language:JavaScript 100.0%