Skip to main content

TextFromHTML

This Script is part of the Common Scripts Pack.#

Extract regular text from the given HTML

Script Data#


NameDescription
Script Typepython3
TagsUtility
Cortex XSOAR Version5.0.0

Inputs#


Argument NameDescription
htmlThe HTML to strip tags from

Outputs#


There are no outputs for this script.

Script Examples#

Example command#

!TextFromHTML html="<!DOCTYPE html><html><body><h1>This is heading 1</h1></body></html>"

Context Example#

{}

Human Readable Output#

This is heading 1