UNESCAPE_HTML
Converts HTML escape sequences in text back to their original characters
Description
The UNESCAPE_HTML()
function is used to reverse the process of escaping HTML characters. It converts HTML escape sequences back to their original characters in a text string. This function is valuable for decoding HTML-escaped text and displaying it in its human-readable form.
Syntax
UNESCAPE_HTML(text
)
text
: The input text string containing HTML-escaped characters that you want to unescape.
Example
Table
ID
HTML Text
1
<p>This is a <p> tag.</p>
2
<b>Bold</b> & <i>Italic</i>
3
No HTML-escaping here!
Function
UNESCAPE_HTML(`HTML Text`)
Results
UNESCAPE_HTML (text)
<p>This is a <p> tag.</p>
<b>Bold</b> & <i>Italic</i>
No HTML-escaping here!
Last updated