JSFiddle - React, Tailwind, and code Playground
HTML
<div id="linb.UI.Group-PANEL:b:">Clear me!</div>
<button type="button">Clear the text</button>
JavaScript
$('button').click(function() {
$("#linb\\.UI\\.Group-PANEL\\:b\\:").empty();
});