JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" name="orgvalue" value="orgvalue" />
<input type="text" name="torgvalues" value="torgvalues" />
<input type="text" name="test" value="test" />
<script>
$.each($('input[name*="orgvalue"]'), function(){
$(this).remove();
});
</script>