hello
HTML
<input class="st-no-arabic" type="text" >
JavaScript
jQuery(".st-no-arabic").on("input", function () {
var inputValue = jQuery(this).val();
var validChars = /^.*[\u0600-\u06FF\s]+.*$/;
if (validChars.test(inputValue))
{
alert('arabic text is not allowed');
jQuery(this).val('');
}
});