JSFiddle - React, Tailwind, and code Playground
by ksoncan34
HTML
<div class="date">
Oct. 07,
</div>
JavaScript
var $date = $('.date'),
text = $date.text(),
monthYear = text.split('.');
$date.html('')
.append($('<div class="m1">' + monthYear[0] + '</div>'))
.append($('<div class="m2">' + monthYear[1].replace(',','') + '</div>'));