JSFiddle - React, Tailwind, and code Playground
JavaScript
var test = '<b><font color="#32748">My string:</font></b><big> My value </big><br>';
// we create an empty element and put the html in it
var div = document.createElement("div");
div.innerHTML = test;
// get the text from the font tag, as you asked for.
var text = div.querySelector("font").textContent;
document.body.innerHTML = text;