Skip to main content
variable stripHTMLTags
import { stripHTMLTags } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";

Removes HTML/XML tags from string.

Use a regular expression to remove HTML/XML tags from a string.

type

(str: string) => unknown