JSFiddle - React, Tailwind, and code Playground

HTML

<html>
<head>
    <body>
        <div style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'"
>
        </div>
    </body>
</html>

JavaScript

var test = / style\=[\"\']?([a-zA-Z0-9 \:\-\#\(\)\.\_\/\;\'\,]+)\;?[\"\']? /ig.exec( document.body.innerHTML );
document.write( test[ 1 ] ); // [1] is for the wanted part