anpleenko
3/26/2015 - 7:32 AM

[regexp] input only english text

[regexp] input only english text

$("input").on("input", function() {
    this.value = this.value.replace(/[а-яА-ЯёЁ]+/i, "");
});