JSFiddle - React, Tailwind, and code Playground
HTML
<input name="a.b.c" />
JavaScript
var el = $("input");
el.attr("name", el.attr("name").replace(/[\d\.]+/g, ""));
console.log(el.attr("name"));
<input name="a.b.c" />
var el = $("input");
el.attr("name", el.attr("name").replace(/[\d\.]+/g, ""));
console.log(el.attr("name"));