%% Replace HTML Entities with Unicode
% Replace HTML character entities with their Unicode equivalent.

str = ["&lt;&gt;" "R&amp;D"];
newStr = decodeHTMLEntities(str)

% Replace HTML numeric character references with their Unicode equivalent. Unicode character with hex code &#x20 is a space.

str = "R&#x20;D";
newStr = decodeHTMLEntities(str)