JSFiddle - React, Tailwind, and code Playground
HTML
<input type='text' id="one">
<input type='text' id="two">
<input type='text' id="three">
JavaScript
$(document).ready(function(){
var string = '22x32x5';
var newstring = string.split('x');
$('#one').val(newstring[0]);
$('#two').val(newstring[1]);
$('#three').val(newstring[2]);
});