JSFiddle - React, Tailwind, and code Playground
by elclanrs
HTML
<input>
JavaScript
$('input').keypress(function(e) {
var A = /a/gi,
letter = String.fromCharCode(e.which);
if (A.test(letter)) {
$(this).val(this.value.replace(A,''));
}
});