JSFiddle - React, Tailwind, and code Playground
HTML
<label for="user_name">
<abbr title="required">*</abbr>
Name
</label>
JavaScript
var html = $('label[for=user_name]').html().replace('Name','Testing');
$('label[for=user_name]').html(html);