JSFiddle - React, Tailwind, and code Playground

HTML

<table>
    <tr>
        <td class="total"> <span>
        <span class="currency_sign">£</span>
25.00</span>
        </td>
    </tr>
</table>

JavaScript

$(".total > span").each(function (i, el) {
    console.log(el.lastChild.data);
});