JSFiddle - React, Tailwind, and code Playground

by Matt Ball

HTML

<p>  Actual text starts after a few blank spaces.</p>

CSS

span.big-cap {
    font-size: 200%;
    color: red;
}

JavaScript

$('p').html(function (i, html)
{
    return html.replace(/^[^a-zA-Z]*([a-zA-Z])/g, '<span class="big-cap">$1</span>');
});