JSFiddle - React, Tailwind, and code Playground
by mblase75
HTML
<span class="locationtitle">
<a href="#">Test Text</a><br>
6:00 p.m. - 12:00 a.m.<br>
Repeat on the first Thursday
</span>
JavaScript
var s = $('.locationtitle')[0].childNodes;
var last = s[s.length-1];
$(last).wrap('<span>').parent().hide();