This function renders HTML content into plain text by removing all HTML tags.


htmlToTxt(text) #Output: Text



Parser expressionDescription


htmlToTxt("<p>Hello <b>world</b>!</p>")


This example returns:

Hello world!


htmlToTxt("<ul><li>Item 1</li><li>Item 2</li></ul>")


This example returns:

  • Item 1
  • Item 2



Parameters used in this function

ParameterInput (data type)Description
text

Any given text. Might contain HTML.



This function returns a



Use cases and examples




Status
Tech review

Style guide




Short description
Removes allĀ HTML tags.
Output

Available since

Label