JSFiddle - React, Tailwind, and code Playground
HTML
<input>
JavaScript
$("input").keyup(function() {
this.value = this.value.replace(/[а-я|\s|\/|\\]/i, "");
});
<input>
$("input").keyup(function() {
this.value = this.value.replace(/[а-я|\s|\/|\\]/i, "");
});