Remove HTML tags from a string, and optionally newline characters.
Usage:
import { removeHTML } from "mazey";const ret = removeHTML("<div>hello world</div>");console.log(ret); Copy
import { removeHTML } from "mazey";const ret = removeHTML("<div>hello world</div>");console.log(ret);
Output:
hello world Copy
hello world
A string that may contain HTML tags.
The string with HTML tags removed.
Remove HTML tags from a string, and optionally newline characters.
Usage:
Output: