JSFiddle - React, Tailwind, and code Playground
HTML
<input id="Form[0]_Phone" name="Form[0].Phone" type="text" value="">
JavaScript
$(function() {
alert($('body').html().replace(/\d+/g, function(val) {
return parseInt(val) + 1;
}));
});