STRIP_HTML
The STRIP_HTML function is used to remove all HTML for a given JSONPath value.
Usable: Value Fields, Context Filter
Syntax: { STRIP_HTML((PARAM_1)) }
Parameter | Type | Examples | Description |
---|---|---|---|
PARAM_1 | JSONPath |
| The JSONPath expression representing the value that should be stripped off HTML |
Value Field Example
For example, consider the following data source JSON:
{
"value": "<p><b>title</b><br/>subtitle</p>"
}
Use the STRIP_HTML
function remove all HTML elements and convert <br>
tags into line breaks
{ STRIP_HTML(($.value)) }
This will result in title\nsubtitle