JSFiddle - React, Tailwind, and code Playground

HTML

<div>
in 0 days time
</div>

JavaScript

$("div").each(function (){
    $(this).html($(this).html().replace("0 days",""));
});