JSFiddle - React, Tailwind, and code Playground

HTML

<div> <span class="PageText_L329n">Quantity in Stock</span>:6</div>

JavaScript

$(document).ready(function () {
    var text = $('.PageText_L329n')[0].nextSibling;
    $(text).remove();
});