JSFiddle - React, Tailwind, and code Playground

HTML

<label for="user_name">
  <abbr title="required">*</abbr>
  Name
</label>

JavaScript

var $label = $('label[for=user_name]');
$label.html($label.html().replace("Name", "Title"));