How to handle HTML entities with original characters

jobin1
Tera Expert

In the below ServiceNow script business rule if emailbody contains any HTML entities then it needs to be converted to corresponding original characters how?
var emailbody = current.u_email_body;


i.e : like for @ I am getting value as @  in emailbody   going forward in script  i need to convert so it should be @
like this it should handle all HTML entities dynamically  how?

0 REPLIES 0